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 条
  • [21] Predicting maintenance performance using object-oriented design complexity metrics
    Bandi, RK
    Vaishnavi, VK
    Turk, DE
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (01) : 77 - 87
  • [22] Mining the impact of evolution categories on object-oriented metrics
    Henrique Rocha
    Cesar Couto
    Cristiano Maffort
    Rogel Garcia
    Clarisse Simoes
    Leonardo Passos
    Marco Tulio Valente
    Software Quality Journal, 2013, 21 : 529 - 549
  • [23] Mutation Score Evaluation in Terms of Object-Oriented Metrics
    Moghadam, Mahshid Helali
    Babamir, Seyyed Morteza
    2014 4TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2014, : 775 - 780
  • [24] JBOOMT: Jade Bird object-oriented metrics tool
    Xie, T
    Yuan, WH
    Mei, H
    Yang, FQ
    CHINESE JOURNAL OF ELECTRONICS, 2000, 9 (02): : 202 - 207
  • [25] Mining the impact of evolution categories on object-oriented metrics
    Rocha, Henrique
    Couto, Cesar
    Maffort, Cristiano
    Garcia, Rogel
    Simoes, Clarisse
    Passos, Leonardo
    Valente, Marco Tulio
    SOFTWARE QUALITY JOURNAL, 2013, 21 (04) : 529 - 549
  • [26] Towards a semantic metrics suite for object-oriented design
    Etzkorn, L
    Delugach, H
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 71 - 80
  • [27] SAM: Simple API for object-oriented code metrics
    Edelman, Adam
    Frakes, William
    Lillie, Charles
    HIGH CONFIDENCE SOFTWARE REUSE IN LARGE SYSTEMS, PROCEEDINGS, 2008, 5030 : 347 - 359
  • [28] Metrics for quality analysis and improvement of object-oriented software
    Ebert, C
    Morschel, I
    INFORMATION AND SOFTWARE TECHNOLOGY, 1997, 39 (07) : 497 - 509
  • [29] Theoretical Validation of Object-Oriented Lack-of-Cohesion Metrics
    Al Dallal, Jehad
    SEPADS'09: PROCEEDINGS OF THE 8TH WSEAS INTERNATIONAL CONFERENCE ON RECENT ADVANCES IN SOFTWARE ENGINEERING, PARALLEL AND DISTRIBUTED SYSTEMS, 2009, : 72 - 77
  • [30] A method and tool for assessing object-oriented projects and metrics management
    Fioravanti, F
    Nesi, P
    JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 53 (02) : 111 - 136