Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/14537
Title: The ability of object-oriented metrics to predict change-proneness : a meta-analysis
Authors: Lu, H
Zhou, Y
Xu, B
Leung, H 
Chen, L
Keywords: Change-proneness
Meta-analysis
Metrics
Object-oriented
Random-effect model
Sensitivity analysis
Issue Date: 2012
Publisher: Springer
Source: Empirical software engineering, 2012, v. 17, no. 3, p. 200-242 How to cite?
Journal: Empirical Software Engineering 
Abstract: Many studies have investigated the relationships between object-oriented (OO) metrics and change-proneness and conclude that OO metrics are able to predict the extent of change of a class across the versions of a system. However, there is a need to re-examine this subject for two reasons. First, most studies only analyze a small number of OO metrics and, therefore, it is not clear whether this conclusion is applicable to most, if not all, OO metrics. Second, most studies only uses relatively few systems to investigate the relationships between OO metrics and change-proneness and, therefore, it is not clear whether this conclusion can be generalized to other systems. In this paper, based on 102 Java systems, we employ statistical meta-analysis techniques to investigate the ability of 62 OO metrics to predict change-proneness. In our context, a class which is changed in the next version of a system is called change-prone and not change-prone otherwise. The investigated OO metrics cover four metric dimensions, including 7 size metrics, 18 cohesion metrics, 20 coupling metrics, and 17 inheritance metrics. We use AUC (the area under a relative operating characteristic, ROC) to evaluate the predictive effectiveness of OO metrics. For each OO metric, we first compute AUCs and the corresponding variances for individual systems. Then, we employ a random-effect model to compute the average AUC over all systems. Finally, we perform a sensitivity analysis to investigate whether the AUC result from the random-effect model is robust to the data selection bias in this study. Our results from random-effect models reveal that: (1) size metrics exhibit moderate or almost moderate ability in discriminating between change-prone and not change-prone classes; (2) coupling and cohesion metrics generally have a lower predictive ability compared to size metrics; and (3) inheritance metrics have a poor ability to discriminate between change-prone and not change-prone classes. Our results from sensitivity analyses show that these conclusions reached are not substantially influenced by the data selection bias.
URI: http://hdl.handle.net/10397/14537
DOI: 10.1007/s10664-011-9170-z
Appears in Collections:Journal/Magazine Article

Access
View full-text via PolyU eLinks SFX Query
Show full item record

SCOPUSTM   
Citations

22
Citations as of Feb 15, 2017

WEB OF SCIENCETM
Citations

8
Last Week
0
Last month
0
Citations as of Feb 17, 2017

Page view(s)

45
Last Week
1
Last month
Checked on Feb 19, 2017

Google ScholarTM

Check

Altmetric



Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.