Abstract
Call graphs are widely used to represent calling relationships among methods. However, there is not much interest in calling relationships among library methods in many software engineering applications, such as program understanding and testing, especially when the library is very big and the calling relationships are not trivial. This paper explores approaches for generating more accurate application call graphs for Java. A new data reachability algorithm is proposed and fine tuned to resolve library callbacks accurately. Compared with an algorithm that resolves library callbacks by traversing the whole-program call graph, the fine-tuned data reachability algorithm results in fewer spurious callback edges. In empirical studies, the new algorithm shows a significant reduction in the number of spurious callback edges. On the basis of the new algorithm, a library abstraction can be calculated automatically and applied in amortized slicing and dataflow testing. Copyright © 2007 John Wiley & Sons, Ltd.
Author supplied keywords
Cite
CITATION STYLE
Zhang, W., & Ryder, B. G. (2007). Automatic construction of accurate application call graph with library call abstraction for Java. In Journal of Software Maintenance and Evolution (Vol. 19, pp. 231–252). https://doi.org/10.1002/smr.351
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.