This Article 
 Bibliographic References 
 Add to: 
Assessing the Applicability of Fault-Proneness Models Across Object-Oriented Software Projects
July 2002 (vol. 28 no. 7)
pp. 706-720

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.

[1] A. Barbosa da Veiga, R. Farnese, and W. Melo, “JMetrics Java Metrics Extractor: An Overview,” Univ. of Brasilia, Dept. of Computer Science, Under-Graduating Final Project, Brasilia, DF, Brazil, 1999, Also published as a Catholic Univ. of Brasilia, Master on Informatics, Software Quality Engineering Group, Technical Report, UCB-QSW-TR-1999/01.
[2] S. Benlarbi and W. Melo, “Polymorphism Measures for Early Risk Prediction,” Proc. 21st Int'l Conf. Software Eng., ICSE '99, pp. 335-344, 1999.
[3] L. Briand, K. El Emam, O. Laitenberger, and T. Fussbroich, “Using Simulation to Build Inspection Efficiency Benchmarks for Development Projects,” Technical Report ISERN-97-21, Fraunhofer Inst. for Experimental Software Eng., Germany, 1997, available athttp://www.iese.fhg.deISERN.
[4] L. Briand, W. Melo, and P. Devanbu, “An Investigation into Coupling Measures for C++,” Proc. IEEE Int'l Conf. Software Eng., (ICSE), 1997.
[5] L. Briand, J. Wuest, J. Daly, and V. Porter, “Exploring the Relationships between Design Measures and Software Quality in Object-Oriented Systems,” J. Systems and Software, vol. 51, 2000.
[6] L.C. Briand, J. Wust, S.V. Ikonomovski, and H. Lounis, “Investigating Quality Factors in Object Oriented Designs: An Industrial Case Study,” Proc. Int'l. Conf. Software Eng., pp. 345–354, May 1999.
[7] L.C. Briand, S. Morasca, and V.R. Basili, "Property-Based Software Engineering Measurement," IEEE Trans. Software Eng., vol. 22, no. 1, pp. 68-85, Jan. 1996.
[8] R.D. De Veaux, D.C. Psichogios, and L.H. Ungar, “A Comparison of Two Nonparametric Estimation Schemes: MARS and Neural Networks,” Computers Chemical Eng., vol. 17, no. 8, pp. 819-837, 1993.
[9] S.R. Chidamber and C.F. Kemerer, "A Metrics Suite for Object Oriented Design," IEEE Trans. Software Eng., vol. 20, no. 6, pp. 476-493, 1994.
[10] S. Chidamber, D. Darcy, and C. Kemerer, “Managerial use of Metrics for Object-Oriented Software: An Exploratory Analysis,” IEEE Trans. Software Eng., vol. 24, no. 8, pp. 629-639, Aug. 1998.
[11] G. Dunteman, Principal Component Analysis. SAGE Publications, 1989.
[12] J. Friedman, “Multivariate Adaptive Regression Splines,” The Annals of Statistics, vol. 19, pp. 1-141, 1991.
[13] D.W. Hosmer and S. Lemeshow, Applied Logistic Regression. John Wiley&Sons, 1989.
[14] M. Stone, “Cross-Validatory Choice and Assessment of Statistical Predictions,” J. Royal Stat. Soc., vol. 36, pp. 111-147, 1974.

Index Terms:
Object-oriented, metrics, measures, empirical validation, cross-validation.
Lionel C. Briand, Walcelio L. Melo, Jürgen Wüst, "Assessing the Applicability of Fault-Proneness Models Across Object-Oriented Software Projects," IEEE Transactions on Software Engineering, vol. 28, no. 7, pp. 706-720, July 2002, doi:10.1109/TSE.2002.1019484
Usage of this product signifies your acceptance of the Terms of Use.