An In-Depth Study of the Potentially Confounding Effect of Class Size in Fault Prediction

被引:58
|
作者
Zhou, Yuming [1 ]
Xu, Baowen [1 ]
Leung, Hareton [2 ]
Chen, Lin [1 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Jiangsu, Peoples R China
[2] Hong Kong Polytech Univ, Hong Kong, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
Measurement; Theory; Metrics; class size; confounding effect; fault; prediction; ORIENTED DESIGN METRICS; DEFECT-PRONE CLASSES; EMPIRICAL VALIDATION; SOFTWARE QUALITY; QUANTITATIVE-ANALYSIS; COHESION METRICS; MEDIATION; COMPLEXITY; MODELS; CODE;
D O I
10.1145/2556777
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Background. The extent of the potentially confounding effect of class size in the fault prediction context is not clear, nor is the method to remove the potentially confounding effect, or the influence of this removal on the performance of fault-proneness prediction models. Objective. We aim to provide an in-depth understanding of the effect of class size on the true associations between object-oriented metrics and fault-proneness. Method. We first employ statistical methods to examine the extent of the potentially confounding effect of class size in the fault prediction context. After that, we propose a linear regression-based method to remove the potentially confounding effect. Finally, we empirically investigate whether this removal could improve the prediction performance of fault-proneness prediction models. Results. Based on open-source software systems, we found: (a) the confounding effect of class size on the associations between object-oriented metrics and fault-proneness in general exists; (b) the proposed linear regression-based method can effectively remove the confounding effect; and (c) after removing the confounding effect, the prediction performance of fault prediction models with respect to both ranking and classification can in general be significantly improved. Conclusion. We should remove the confounding effect of class size when building fault prediction models.
引用
收藏
页数:51
相关论文
共 50 条
  • [41] Experimental and numerical study of size effect on long-term drying behavior of concrete: influence of drying depth
    Samouh, H.
    Soive, A.
    Roziere, E.
    Loukili, A.
    [J]. MATERIALS AND STRUCTURES, 2016, 49 (10) : 4029 - 4048
  • [42] Experimental and numerical study of size effect on long-term drying behavior of concrete: influence of drying depth
    H. Samouh
    A. Soive
    E. Rozière
    A. Loukili
    [J]. Materials and Structures, 2016, 49 : 4029 - 4048
  • [43] Experimental study on the effect of drop size in rain erosion test and on lifetime prediction of wind turbine blades
    Bech, Jakob Ilsted
    Johansen, Nicolai Frost-Jensen
    Madsen, Martin Bonde
    Hannesdottir, Asta
    Hasager, Charlotte Bay
    [J]. RENEWABLE ENERGY, 2022, 197 : 776 - 789
  • [44] Effect of Hypotension Prediction Index-guided intraoperative haemodynamic care on depth and duration of postoperative hypotension: a sub-study of the Hypotension Prediction trial
    Schenk, Jimmy
    Wijnberge, Marije
    Maaskant, Jolanda M.
    Hollmann, Markus W.
    Hol, Liselotte
    Immink, Rogier, V
    Vlaar, Alexander P.
    van der Ster, Bjorn J. P.
    Geerts, Bart F.
    Veelo, Denise P.
    [J]. BRITISH JOURNAL OF ANAESTHESIA, 2021, 127 (05) : 681 - 688
  • [45] Itaconic acid-based 3D printed nanocomposites: An in-depth study on the effect of nanoinclusions on the physicochemical properties and the printability of formulations based on polyester itaconates
    Papadopoulos, Lazaros
    Pezzana, Lorenzo
    Malitowski, Natalia
    Kladovasilakis, Nikolaos
    Tzetzis, Dimitrios
    Sangermano, Marco
    Bikiaris, Dimitrios N.
    Robert, Tobias
    [J]. GIANT, 2024, 18
  • [46] Prediction of dust particle size effect on efficiency of photovoltaic modules with ANFIS: An experimental study in Aegean region, Turkey
    Adiguzel, Ertugrul
    Ozer, Emre
    Akgundogdu, Abdurrahim
    Yilmaz, Aysel Ersoy
    [J]. SOLAR ENERGY, 2019, 177 : 690 - 702
  • [47] Exploring the effect of Hf (IV) doping in spinel ferrite CoHfxFe2-xO4 on magnetic properties, electrochemical impedance, and photocatalytic activity: In-depth structural study
    Ibeniaich, M.
    Elansary, M.
    Minaoui, K.
    Mouhib, Y.
    Haj, Y. Ait El
    Belaiche, Y.
    Oulhakem, O.
    Iffer, E.
    Ferdi, C. Ahmani
    Lemine, O. M.
    Salameh, B.
    Alsmadi, A. M.
    Alaoui, K. Belrhiti
    [J]. JOURNAL OF MOLECULAR STRUCTURE, 2024, 1318
  • [48] Size-matched hierarchical porous carbon materials anchoring single-atom Fe-N4 sites for PMS activation: An in-depth study of key active species and catalytic mechanisms
    Tian, Haoran
    Cui, Kangping
    Chen, Xing
    Liu, Jun
    Zhang, Qiang
    [J]. JOURNAL OF HAZARDOUS MATERIALS, 2024, 461
  • [49] Multiple logistic regression based prediction of heat flow direction in an intake incline of shallow depth by integrating thermal flywheel effect: A case study
    Pandey, Aditya
    Mondal, Chinmay
    Sastry, Bhamidipati S.
    [J]. APPLIED THERMAL ENGINEERING, 2022, 213
  • [50] The remarkable promotional effect of SO2 on Pb-poisoned V2O5-WO3/TiO2 catalysts: An in-depth experimental and theoretical study
    Yu, Yanke
    Miao, Jifa
    He, Chi
    Chen, Jinsheng
    Li, Can
    Douthwaite, Mark
    [J]. CHEMICAL ENGINEERING JOURNAL, 2018, 338 : 191 - 201