Predicting defects using network analysis on dependency graphs
Thomas Zimmermann, Nachiappan Nagappan · Proceedings/Proceedings - International Conference on Software Engineering · 2008
In software development, resources for quality assurance are limited by time and by cost. In order to allocate resources effectively, managers need to rely on their experience backed by code complexity metrics. But often dependencies exist between various pieces of code over which managers may have little knowledge. These dependencies can be construed as a low level graph of the entire system. In this paper, we propose to use network analysis on these dependency graphs. This allows managers to identify central program units that are more likely to face defects. In our evaluation on Windows Server 2003, we found that the recall for models built from network measures is by 10% points higher than for models built from complexity metrics. In addition, network measures could identify 60% of the binaries that the Windows developers considered as critical-twice as many as identified by complexity metrics.
Cited by 580 works. doi:10.1145/1368088.1368161
Authors
References
- The Structure and Function of Complex Networks
- Social Network Analysis: Methods and Applications
- Structural Holes: The Social Structure of Competition
- Network Motifs: Simple Building Blocks of Complex Networks
- A Note on a General Definition of the Coefficient of Determination
- The program dependence graph and its use in optimization
- Algorithm 457: finding all cliques of an undirected graph
- Efficient crawling through URL ordering
- The Centrality Index of a Graph
- Software Metrics: A Rigorous and Practical Approach