Title
Applying design metrics to predict fault-proneness: a case study on a large-scale software system
Abstract
The purpose of this study was to identify fault-prone functions that are likely to contain faults in a given software system. Five metrics were used: D-i, an internal design metric which incorporates factors related to a function's internal structure; D-e, an external design metric which focuses on a function's external relationships to the rest of the software system; D(G), a composite design metric which is a linear combination of D-i and D-e; and the union and intersection of D-i, D-e, and D(G). Since the system being considered was already developed, a very important aspect of our study was to extract the design information directly from the source code rather than from the corresponding design documentation which may not exist or, if it does exist, it may be incomplete, difficult to understand, or not updated. To make the analysis more accurate and efficient, a metric analysis tool (chi Metrics) was implemented. We conducted experiments using chi Metrics on part of a distributed software system, written in C, with a client-server architecture, and identified a small percentage of its functions as good candidates for fault-proneness. Files containing these functions were then validated by the real defect data collected between a recent major release and its subsequent release for their fault-proneness. The results indicate that our metrics are good indicators of fault-prone functions.Two extra experiments were also conducted to show that function size cannot replace any of our metrics; and where the function size was factored out our metrics performed better than the normalized metrics. The important benefit of our metrics is that they help project managers determine where additional testing effort should be spent and possibly which fault-prone functions should be assigned to more experienced programmers if modificati ons are required. Copyright (C) 2000 John Whey & Sons, Ltd.
Year
DOI
Venue
2000
3.0.CO;2-1" target="_self" class="small-link-text"10.1002/1097-024X(20001125)30:143.0.CO;2-1
Softw., Pract. Exper.
Keywords
DocType
Volume
case study,design metrics,large-scale software system
Journal
30
Issue
ISSN
Citations 
14
0038-0644
8
PageRank 
References 
Authors
0.65
14
5
Name
Order
Citations
PageRank
W. Eric Wong128456.75
Joseph Robert Horgan21232132.79
Michael Syring3141.95
Wayne M. Zage4203.24
Dolores M. Zage5152.32