The prediction of faulty classes using object-oriented design metrics

被引:169
作者
El Emam, K
Melo, W
Machado, JC
机构
[1] Natl Res Council Canada, Inst Informat Technol, Ottawa, ON K1A 0R6, Canada
[2] Oracle Brazil, BR-70712900 Brasilia, DF, Brazil
[3] Univ Fed Ceara, Dept Comp, Fortaleza, Ceara, Brazil
关键词
object-oriented metrics; software metrics; software quality; !text type='Java']Java[!/text] metrics; !text type='Java']Java[!/text] quality;
D O I
10.1016/S0164-1212(00)00086-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Contemporary evidence suggests that most field faults in software applications are found in a small percentage of the software's components. This means that if these faulty software components can be detected early in the development project's life cycle, mitigating actions can be taken, such as a redesign. For object-oriented applications, prediction models using design metrics can be used to identify faulty classes early on. In this paper we report on a study that used object-oriented design metrics to construct such prediction models. The study used data collected from one version of a commercial Java application for constructing a Prediction model. The model was then validated on a subsequent release of the same application. Our results indicate that the prediction model has a high accuracy. Furthermore, we found that an export coupling (EC) metric had the strongest association with fault-proneness, indicating a structural feature that may be symptomatic of a class with a high probability of latent faults. (C) 2001 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:63 / 75
页数:13
相关论文
共 52 条
[1]  
Abreu F.B., 1994, P 4 INT C SOFTWARE Q, V186, P1
[2]   Evaluating the impact of Object-Oriented design on software quality [J].
Abreu, FBE ;
Melo, W .
PROCEEDINGS OF THE 3RD INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, 1996, :90-99
[3]  
[Anonymous], P 19 INT C SOFTW ENG
[4]  
[Anonymous], 1993, Proc.
[5]  
[Anonymous], 1982, CASE CONTROL STUDIES
[6]   A validation of object-oriented design metrics as quality indicators [J].
Basili, VR ;
Briand, LC ;
Melo, WL .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (10) :751-761
[7]  
Belsley D.A., 1980, Regression Diagnostics: Identifying Influential Data and Sources of Collinearity
[8]  
Benlarbi S., 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002), P334, DOI 10.1109/ICSE.1999.841024
[9]   Validation of the coupling dependency metric as a predictor of run-time failures and maintenance measures [J].
Binkley, AB ;
Schach, SR .
PROCEEDINGS OF THE 1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1998, :452-455
[10]  
Breslow N E, 1987, IARC Sci Publ, P1