Examining the Potentially Confounding Effect of Class Size on the Associations between Object-Oriented Metrics and Change-Proneness

被引:98
|
作者
Zhou, Yuming [1 ,2 ]
Leung, Hareton [3 ]
Xu, Baowen [1 ,2 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Jiangsu, Peoples R China
[2] Nanjing Univ, Dept Comp Sci & Technol, Nanjing, Jiangsu, Peoples R China
[3] Hong Kong Polytech Univ, Dept Comp, Hong Kong, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
Object-oriented; metrics; validation; class size; confounding; change-proneness; OPEN-SOURCE SOFTWARE; EMPIRICAL VALIDATION; COUPLING MEASUREMENT; FAULT-PRONENESS; IDENTIFICATION; MODELS;
D O I
10.1109/TSE.2009.32
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Previous research shows that class size can influence the associations between object-oriented (OO) metrics and fault-proneness and therefore proposes that it should be controlled as a confounding variable when validating OO metrics on fault-proneness. Otherwise, their true associations may be distorted. However, it has not been determined whether this practice is equally applicable to other external quality attributes. In this paper, we use three size metrics, two of which are available during the high-level design phase, to examine the potentially confounding effect of class size on the associations between OO metrics and change-proneness. The OO metrics that are investigated include cohesion, coupling, and inheritance metrics. Our results, based on Eclipse, indicate that: 1) The confounding effect of class size on the associations between OO metrics and change-proneness, in general, exists, regardless of whichever size metric is used; 2) the confounding effect of class size generally leads to an overestimate of the associations between OO metrics and change-proneness; and 3) for many OO metrics, the confounding effect of class size completely accounts for their associations with change-proneness or results in a change of the direction of the associations. These results strongly suggest that studies validating OO metrics on change-proneness should also consider class size as a confounding variable.
引用
收藏
页码:607 / 623
页数:17
相关论文
共 10 条
  • [1] The confounding effect of class size on the validity of object-oriented metrics
    Evanco, WM
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (07) : 670 - 672
  • [2] The confounding effect of class size on the validity of object-oriented metrics
    Emam, KE
    Benlarbi, S
    Goel, N
    Rai, SN
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (07) : 630 - 650
  • [3] The ability of object-oriented metrics to predict change-proneness: a meta-analysis
    Hongmin Lu
    Yuming Zhou
    Baowen Xu
    Hareton Leung
    Lin Chen
    [J]. Empirical Software Engineering, 2012, 17 : 200 - 242
  • [4] 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
  • [5] 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
  • [6] 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
  • [7] 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
  • [8] 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
  • [9] 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,
  • [10] An exploratory study of package metrics as change size indicators in evolving object-oriented software
    Elish, Mahmoud O.
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2013, 28 (04): : 251 - 257