The ability of object-oriented metrics to predict change-proneness: a meta-analysis

被引:0
|
作者
Hongmin Lu
Yuming Zhou
Baowen Xu
Hareton Leung
Lin Chen
机构
[1] Southeast University,School of Computer Science and Engineering
[2] Nanjing University,State Key Laboratory for Novel Software Technology
[3] Hong Kong Polytechnic University,Department of Computing
来源
关键词
Object-oriented; Metrics; Change-proneness; Meta-analysis; Random-effect model; Sensitivity analysis;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:200 / 242
页数:42
相关论文
共 50 条
  • [1] The ability of object-oriented metrics to predict change-proneness: a meta-analysis
    Lu, Hongmin
    Zhou, Yuming
    Xu, Baowen
    Leung, Hareton
    Chen, Lin
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2012, 17 (03) : 200 - 242
  • [2] Examining the Potentially Confounding Effect of Class Size on the Associations between Object-Oriented Metrics and Change-Proneness
    Zhou, Yuming
    Leung, Hareton
    Xu, Baowen
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (05) : 607 - 623
  • [3] Deriving Thresholds of Object-Oriented Metrics to Predict Defect-Proneness of Classes: A Large-Scale Meta-analysis
    Mei, Yuanqing
    Rong, Yi
    Liu, Shiran
    Guo, Zhaoqiang
    Yang, Yibiao
    Lu, Hongmin
    Tang, Yutian
    Zhou, Yuming
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (05) : 651 - 695
  • [4] Investigation of relationship between object-oriented metrics and change proneness
    Ruchika Malhotra
    Megha Khanna
    [J]. International Journal of Machine Learning and Cybernetics, 2013, 4 : 273 - 286
  • [5] Investigation of relationship between object-oriented metrics and change proneness
    Malhotra, Ruchika
    Khanna, Megha
    [J]. INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2013, 4 (04) : 273 - 286
  • [6] An Empirical Study to Evaluate the Relationship of Object-Oriented Metrics and Change Proneness
    Malhotra, Ruchika
    Khanna, Megha
    [J]. INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2018, 15 (06) : 1016 - 1023
  • [7] Change-Proneness of Object-Oriented Software Using Combination of Feature Selection Techniques and Ensemble Learning Techniques
    Kumar, Lov
    Lal, Sangeeta
    Goyal, Anjali
    Murthy, N. L. Bhanu
    [J]. PROCEEDINGS OF THE 12TH INNOVATIONS ON SOFTWARE ENGINEERING CONFERENCE (ISEC), 2019,
  • [8] OBJECT-ORIENTED METRICS THAT PREDICT MAINTAINABILITY
    LI, W
    HENRY, S
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 1993, 23 (02) : 111 - 122
  • [9] Empirical validation of object-oriented metrics for predicting fault proneness models
    Yogesh Singh
    Arvinder Kaur
    Ruchika Malhotra
    [J]. Software Quality Journal, 2010, 18 : 3 - 35
  • [10] Investigating effect of Design Metrics on Fault Proneness in Object-Oriented Systems
    Aggarwal, K. K.
    Singh, Yogesh
    Kaur, Arvinder
    Malhotra, Ruchika
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (10): : 127 - 141