Empirical analysis for investigating the effect of object‐oriented metrics on fault proneness: a replicated case study
- 11 August 2008
- journal article
- research article
- Published by Wiley in Software Process: Improvement and Practice
- Vol. 14 (1) , 39-62
Abstract
The importance of software measurement is increasing, leading to the development of new measurement techniques. Many metrics have been proposed related to the various object‐oriented (OO) constructs like class, coupling, cohesion, inheritance, information hiding and polymorphism. The purpose of this article is to explore relationships between the existing design metrics and probability of fault detection in classes. The study described here is a replication of an analogous study conducted by Briandet al. The aim is to provide empirical evidence to draw the strong conclusions across studies. We used the data collected from Java applications for constructing a prediction model. Results of this study show that many metrics capture the same dimensions in the metric set, hence are based on comparable ideas and provides redundant information. It is shown that by using a subset of metrics prediction models can be built to identify faulty classes. The model predicts faulty classes with more than 90% accuracy. The predicted model shows that import coupling and size metrics are strongly related to fault proneness, confirming the results from previous studies. However, there are also differences reported in this study with respect to previous studies such as inheritance metric which counts methods inherited in a class is also included in the predicted model. Copyright © 2008 John Wiley & Sons, Ltd.Keywords
This publication has 24 references indexed in Scilit:
- Empirical Study of Object-Oriented Metrics.The Journal of Object Technology, 2006
- The prediction of faulty classes using object-oriented design metricsJournal of Systems and Software, 2001
- An empirical investigation of an object-oriented software systemIEEE Transactions on Software Engineering, 2000
- A unified framework for coupling measurement in object-oriented systemsIEEE Transactions on Software Engineering, 1999
- Managerial use of metrics for object-oriented software: an exploratory analysisIEEE Transactions on Software Engineering, 1998
- An evaluation of the MOOD set of object-oriented software metricsIEEE Transactions on Software Engineering, 1998
- A validation of object-oriented design metrics as quality indicatorsIEEE Transactions on Software Engineering, 1996
- A software complexity model of object-oriented systemsDecision Support Systems, 1995
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994
- Object-oriented metrics that predict maintainabilityJournal of Systems and Software, 1993