Deriving Coupling Metrics from Call Graphs

Simon Allier, Stephane Vaucher, Bruno Dufour, Houari Sahraoui
2010 2010 10th IEEE Working Conference on Source Code Analysis and Manipulation  
Coupling metrics play an important role in empirical software engineering research as well as in industrial measurement programs. The existing coupling metrics have usually been defined in a way that they can be computed from a static analysis of the source code. However, modern programs extensively use dynamic language features such as polymorphism and dynamic class loading that are difficult to capture by static analysis. Consequently, the derived metric values might not accurately reflect
more » ... state of a program. In this paper, we express existing definitions of coupling metrics using call graphs. We then compare the results of four different call graph construction algorithms with standard tool implementations of these metrics in an empirical study. Our results show important variations in coupling between standard and call graph-based calculations due to the support of dynamic features.
doi:10.1109/scam.2010.25 dblp:conf/scam/AllierVDS10 fatcat:mcaieevq4bdyrkxgraylixzlrm