The confounding effect of class size on the validity of object-oriented metrics

被引:239
|
作者
Emam, KE
Benlarbi, S
Goel, N
Rai, SN
机构
[1] Natl Res Council Canada, Inst Informat Technol, Ottawa, ON K1A 0R6, Canada
[2] Cistel Technol, Nepean, ON K2E 7L5, Canada
[3] St Jude Childrens Res Hosp, Dept Biostat & Epidemiol, Memphis, TN 38105 USA
关键词
object-oriented metrics; software quality; metrics validation; validation methodology; object-oriented quality; coupling metrics; inheritance metrics; cohesion metrics;
D O I
10.1109/32.935855
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Much effort has been devoted to the development and empirical validation of object-oriented metrics. The empirical validations performed thus far would suggest that a core set of validated metrics is close to being identified. However, none of these studies allow for the potentially confounding effect of class size. In this paper, we demonstrate a strong size confounding effect and question the results of previous object-oriented metrics validation studies. We first investigated whether there is a confounding effect of class size in validation studies of object-oriented metrics and show that, based on previous work, there is reason to believe that such an effect exists. We then describe a detailed empirical methodology for identifying those effects. Finally, we perform a study on a large C++ telecommunications framework to examine if size is really a confounder. This study considered the Chidamber and Kemerer metrics and a subset of the Lorenz and Kidd metrics. The dependent variable was the incidence of a fault attributable to a field failure (fault-proneness of a class). Our findings indicate that, before controlling for size, the results are very similar to previous studies: The metrics that are expected to be validated are indeed associated with fault-proneness. After controlling for size, none of the metrics we studied were associated with fault-proneness anymore. This demonstrates a strong size confounding effect and casts doubt on the results of previous object-oriented metrics validation studies. It is recommended that previous validation studies be reexamined to determine whether their conclusions would still hold after controlling for size and that future validation studies should always control for size.
引用
收藏
页码:630 / 650
页数:21
相关论文
共 50 条
  • [41] A model-based approach to object-oriented software metrics
    Mei, H
    Xie, T
    Yang, FQ
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2002, 17 (06) : 757 - 769
  • [42] Prediction of testability using the design metrics for object-oriented software
    Singh, Yogesh
    Saha, Anju
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2012, 44 (01) : 12 - 22
  • [43] ENTROPY OF SOME CK METRICS TO ASSESS OBJECT-ORIENTED SOFTWARE QUALITY
    Turnu, Ivana
    Concas, Giulio
    Marchesi, Michele
    Tonelli, Roberto
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2013, 23 (02) : 173 - 188
  • [44] Empirical validation of object-oriented metrics for predicting fault proneness models
    Singh, Yogesh
    Kaur, Arvinder
    Malhotra, Ruchika
    SOFTWARE QUALITY JOURNAL, 2010, 18 (01) : 3 - 35
  • [45] Empirical validation of object-oriented metrics for predicting fault proneness models
    Yogesh Singh
    Arvinder Kaur
    Ruchika Malhotra
    Software Quality Journal, 2010, 18 : 3 - 35
  • [46] Models for Maintenance Effort Prediction with Object-Oriented Cognitive Complexity Metrics
    Thamburaj, T. Francis
    Aloysius, A.
    2017 2ND WORLD CONGRESS ON COMPUTING AND COMMUNICATION TECHNOLOGIES (WCCCT), 2017, : 191 - 194
  • [47] Estimation and prediction metrics for adaptive maintenance effort of object-oriented systems
    Fioravanti, F
    Nesi, P
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (12) : 1062 - 1084
  • [48] Theoretical Validation of Object-Oriented Metrics for Data Warehouse Multidimensional Model
    Gosain, Anjana
    Gupta, Rakhi
    PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON FRONTIERS IN INTELLIGENT COMPUTING: THEORY AND APPLICATIONS, FICTA 2016, VOL 1, 2017, 515 : 681 - 691
  • [49] Towards a metrics based approach for improving the object-oriented design quality
    Badri, L
    Badri, M
    ISE'2001: PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON INFORMATION SYSTEMS AND ENGINEERING, 2001, : 399 - 405
  • [50] Analysis of Refactoring Effect on Software Quality of Object-Oriented Systems
    Malhotra, Ruchika
    Jain, Juhi
    INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING AND COMMUNICATIONS, VOL 2, 2019, 56 : 197 - 212