arrow
Return

Type-Based Call Graph Construction Algorithms for Scala

delete2015-12-02
delete7
PRE
AI
K
Karim Ali *
M
Marianna Rapoport
O
Ondřej Lhoták
J
Julian Dolby
F
Frank Tip
DOI:10.1145/2824234delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Call graphs have many applications in software engineering. For example, they serve as the basis for code navigation features in integrated development environments and are at the foundation of static analyses performed in verification tools. While many call graph construction algorithms have been presented in the literature, we are not aware of any that handle Scala features such as traits and abstract type members. Applying existing algorithms to the JVM bytecodes generated by the Scala compiler produces very imprecise results because type information is lost during compilation. We adapt existing type-based call graph construction algorithms to Scala and present a formalization based on Featherweight Scala. An experimental evaluation shows that our most precise algorithm generates call graphs with 1.1-3.7 times fewer nodes and 1.5-17.3 times fewer edges than a bytecode-based RTA analysis.
Keywords:
Call graphs
static analysis
Scala

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

S
samsung
Scholars:
8.6K
Papers: 6.4K
Citations: 8
U
University of Waterloo
Scholars:
2.2W
Papers: 2.3W
Citations: 3.3W
T
Technical University of Darmstadt
Scholars:
1.3W
Papers: 10.0K
Citations: 1.2W
researcher View more organizations
Cited Papers

Cited Papers

Inhaled nitric oxide as a screening vasodilator agent in primary pulmonary hypertension
err1996-12-01
err0
PREAI
errO. Sitbon; F. Brenot; A. Denjean; A. Bergeron; F. Parent; R. Azarian; P. Hervé; B. Raffestin; G. Simonneau
errShare
errSave
Microchemical instrumentation
err2004-02-19
err0
PREAI
errLeroy Hood; Michael Hunkapiller; Rodney Hewick; Charles E. Giffin; William J. Dreyer
errShare
errSave
errShare
errSave
Transition metal binding properties of the redox-active 1,4,7,10,13,16-hexa(ferrocenylmethyl)-1,4,7,10,13,16-hexaazacyclooctadecane and its electrochemical behaviour in a non-aqueous solvent
err1999-12-01
err0
PREAI
errJosé Manuel Lloris; Ramón Martı́nez-Máñez; Juan Soto; Teresa Pardo; M.E. Padilla Tosta; Angel Benito; Maria Dolores Marcos
errShare
errSave
errShare
errSave
Pain and Other Neurological Symptoms Are Present at 3 Months After Hospitalization in COVID-19 Patients
err2021-11-16
err0
errOAAI
errJude P. J. Savarraj; Angela B. Burkett; Sarah N. Hinds; Atzhiry S. Paz; Andres Assing; Shivanki Juneja; Gabriela D. Colpo; Luis F. Torres; Sung-Min Cho; Aaron M. Gusdon; Louise D. McCullough; H. Alex Choi
errShare
errSave
Conjunctival Condylomata Acuminata
err2008-06-01
err0
PREAI
errJoseph Iuorno; Alexander Truskinovsky; Gary Chung; Jay Krachmer; Drew Bawcombe; Andrew Huang
errShare
errSave
researcher View more