• Home
  • Search
  • Research Paper] Static JavaScript Call Graphs: A Comparative Study
  • Open Access IconOpen Access
  • Cite Icon19
  • https://doi.org/10.1109/scam.2018.00028Copy DOI Icon

Research Paper] Static JavaScript Call Graphs: A Comparative Study

  • Sep 1, 2018
  • Gabor Antal +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The popularity and wide adoption of JavaScript both at the client and server side makes its code analysis more important than ever before. Most of the algorithms for vulnerability analysis, coding issue detection, or type inference rely on the call graph representation of the underlying program. Despite some obvious advantages of dynamic analysis, static algorithms should also be considered for call graph construction as they do not require extensive test beds for programs and their costly execution and tracing. In this paper, we systematically compare five widely adopted static algorithms - implemented by the npm call graph, IBM WALA, Google Closure Compiler, Approximate Call Graph, and Type Analyzer for JavaScript tools - for building JavaScript call graphs on 26 WebKit SunSpider benchmark programs and 6 real-world Node.js modules. We provide a performance analysis as well as a quantitative and qualitative evaluation of the results. We found that there was a relatively large intersection of the found call edges among the algorithms, which proved to be 100% precise. However, most of the tools found edges that were missed by all others. ACG had the highest precision followed immediately by TAJS, but ACG found significantly more call edges. As for the combination of tools, ACG and TAJS together covered 99% of the found true edges by all algorithms, while maintaining a precision as high as 98%. Only two of the tools were able to analyze up-to-date multi-file Node.js modules due to incomplete language features support. They agreed on almost 60% of the call edges, but each of them found valid edges that the other missed.

Similar Papers
  • Conference Article
  • Citations3

Total Recall? How Good Are Static Call Graphs Really?

  • Sep 11, 2024
  • Dominik Helm +6
  • Research Article
  • Citations69

Precise Call Graphs for C Programs with Function Pointers

  • Jan 01, 2004
  • Automated Software Engineering
  • Ana Milanova +2
  • Conference Article

CG-Bench: Can Language Models Assist Call Graph Construction in the Real World?

  • Oct 09, 2025
  • Ting Yuan +3
  • Research Article

InferCG: Enhancing Python Call Graph Generation via Static Analysis and Large Language Models

  • Mar 07, 2026
  • ACM Transactions on Software Engineering and Methodology
  • Dongming Xiang +4
  • Book Chapter
  • Citations1

Comparative Evaluation of Call Graph Generation by Profiling Tools

  • Jan 01, 2022
  • Onur Cankur +1
  • Research Article
  • Citations1

Proximity query based on second order cone programming using convex superquadrics: a static collision detection algorithm for narrow-phase

  • Sep 07, 2015
  • Assembly Automation
  • Lin Chen +6
  • Supplementary Content

Laboratory and experimental hut evaluation of mosquito net and indoor residual spray (IRS) insecticides for improved malaria control

  • Jan 12, 2015
  • LSHTM Research Online (London School of Hygiene and Tropical Medicine)
  • Rm Oxborough
  • Conference Article

Self-Supervised Source Code Annotation from Related Research Papers

  • Dec 01, 2021
  • Pierre Haritz +3
  • Supplementary Content

Gender inequality in healthy ageing: a study of theEnglish older population over a decade

  • Jul 21, 2017
  • LSHTM Research Online (London School of Hygiene and Tropical Medicine)
  • Benedetta Pongiglione
  • Research Article

Assessment of research papers in medical university staff evaluation

  • Jun 15, 2012
  • Journal of Chinese Integrative Medicine
  • Qh Zhou
  • PDF
  • Research Article
  • Citations17

A Novel Centralized Range-Free Static Node Localization Algorithm with Memetic Algorithm and Lévy Flight

  • Jul 23, 2019
  • Sensors (Basel, Switzerland)
  • Jin Yang +3
  • Research Article

Enhancing Credit Card Transaction Security Using Support Vector Machines and Feature Engineering Techniques

  • May 01, 2025
  • International Journal of Innovative Research in Computer Science and Technology
  • Mohd Asad Jawaid +3
  • Research Article
  • Citations26

HOME AUTOMATION AND SECURITY SYSTEM

  • Jul 30, 2016
  • Advanced Computational Intelligence: An International Journal (ACII)
  • Surinder Kaur +3
  • Research Article
  • Citations5

人工知能の深層学習による円形微細流路内水平流の沸騰熱伝達の予測

  • Jan 01, 2017
  • JAPANESE JOURNAL OF MULTIPHASE FLOW
  • Koji Enoki +3
  • Book Chapter
  • Citations10

Effective Static and Dynamic Fault Tree Analysis

  • Jan 01, 2016
  • Ola Bäckström +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.