Assessing the applicability of fault-proneness models across object-oriented software projects

被引:204
作者
Briand, LC
Melo, WL
Wüst, J
机构
[1] Carleton Univ, Software Qual Engn Lab, Ottawa, ON K1S 5B6, Canada
[2] Univ Catol Brasilia, Brasilia, DF, Brazil
[3] Fraunhofer Inst Expt Software Engn, D-67661 Kaiserslautern, Germany
基金
美国国家科学基金会; 加拿大自然科学与工程研究理事会;
关键词
object-oriented; metrics; measures; empirical validation; cross-validation;
D O I
10.1109/TSE.2002.1019484
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A number of papers have investigated the relationships between design metrics and the detection of faults in object-oriented software. Several of these studies have shown that such models can be accurate in predicting faulty classes within one particular software product. In practice, however, prediction models are built on certain products to be used on subsequent software development projects. How accurate can these models be considering the inevitable differences that may exist across projects and systems? Organizations typically learn and change. From a more general standpoint, can we obtain any evidence that such models are economically viable tools to focus validation and verification effort? This paper attempts to answer these questions by devising a general but tailorable cost-benefit model and by using fault and design data collected on two midsize Java systems developed in the same environment. Another contribution of the paper is the use of a novel exploratory analysis technique (MARS) to build such fault-proneness models, whose functional form is a priori unknown. Results indicate that a model built on one system can be accurately used to rank classes within another system according to their fault proneness. The downside, however, is that, because of system differences, the predicted fault probabilities are not representative of the system predicted, However, our cost-benefit model demonstrates that the MARS fault-proneness model is potentially viable, from an economical standpoint, The linear model is not nearly as good, thus suggesting a more complex model is required.
引用
收藏
页码:706 / 720
页数:15
相关论文
共 14 条
[1]  
BENLARBI S, 1999, P 21 INT C SOFTW ENG, P335
[2]  
BRIAND L, 1997, ISERN9721 FRAUNH I E
[3]  
BRIAND L, 1997, P IEEE INT C SOFTW E
[4]  
Briand L. C., 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002), P345, DOI 10.1109/ICSE.1999.841025
[5]   Exploring the relationships between design measures and software quality in object-oriented systems [J].
Briand, LC ;
Wüst, J ;
Daly, JW ;
Porter, DV .
JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 51 (03) :245-273
[6]   Property-based software engineering measurement [J].
Briand, LC ;
Morasca, S ;
Basili, VR .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (01) :68-86
[7]   A METRICS SUITE FOR OBJECT-ORIENTED DESIGN [J].
CHIDAMBER, SR ;
KEMERER, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) :476-493
[8]   Managerial use of metrics for object-oriented software: An exploratory analysis [J].
Chidamber, SR ;
Darcy, DP ;
Kemerer, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (08) :629-639
[9]  
DAVEIGA AB, 1999, JMETRICS JAVA METRIC
[10]   A COMPARISON OF 2 NONPARAMETRIC-ESTIMATION SCHEMES - MARS AND NEURAL NETWORKS [J].
DEVEAUX, RD ;
PSICHOGIOS, DC ;
UNGAR, LH .
COMPUTERS & CHEMICAL ENGINEERING, 1993, 17 (08) :819-837