A Comprehensive Investigation of the Impact of Class Overlap on Software Defect Prediction

被引:21
|
作者
Gong, Lina [1 ]
Zhang, Haoxiang [2 ]
Zhang, Jingxuan [1 ]
Wei, Mingqiang [1 ]
Huang, Zhiqiu [1 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Comp Sci & Technol, Nanjing 210095, Jiangsu, Peoples R China
[2] Queens Univ, Sch Comp, Software Anal & Intelligence Lab SAIL, Kingston, ON K7L 3N6, Canada
基金
中国国家自然科学基金;
关键词
Class overlap; data quality; k-nearest neighbourhood; local analysis; software defect prediction; software metrics; FALSE DISCOVERY RATE; CLASSIFICATION; CLASSIFIERS; MACHINE; ERROR;
D O I
10.1109/TSE.2022.3220740
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software Defect Prediction (SDP) is one of the most vital and cost-efficient operations to ensure the software quality. However, there exists the phenomenon of class overlap in the SDP datasets (i.e., defective and non-defective modules are similar in terms of values of metrics), which hinders the performance as well as the use of SDP models. Even though efforts have been made to investigate the impact of removing overlapping technique on the performance of SDP, many open issues are still challenging yet unknown. Therefore, we conduct an empirical study to comprehensively investigate the impact of class overlap on SDP. Specifically, we first propose an overlapping instances identification approach by analyzing the class distribution in the local neighborhood of a given instance. We then investigate the impact of class overlap and two common overlapping instance handling techniques on the performance and the interpretation of seven representative SDP models. Through an extensive case study on 230 diversity datasets, we observe that: i) 70.0% of SDP datasets contain overlapping instances; ii) different levels of class overlap have different impacts on the performance of SDP models; iii) class overlap affects the rank of the important feature list of SDP models, particularly the feature lists at the top 2 and top 3 ranks; IV) Class overlap handling techniques could statistically significantly improve the performance of SDP models trained on datasets with over 12.5% overlap ratios. We suggest that future work should apply our KNN method to identify the overlap ratios of datasets before building SDP models.
引用
收藏
页码:2440 / 2458
页数:19
相关论文
共 50 条
  • [41] Which type of metrics are useful to deal with class imbalance in software defect prediction?
    Ozturk, Muhammed Maruf
    INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 92 : 17 - 29
  • [42] Adaptive Centre-Weighted Oversampling for Class Imbalance in Software Defect Prediction
    Zhao, Qi
    Yan, Xuefeng
    Zhou, Yong
    2018 IEEE INT CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, UBIQUITOUS COMPUTING & COMMUNICATIONS, BIG DATA & CLOUD COMPUTING, SOCIAL COMPUTING & NETWORKING, SUSTAINABLE COMPUTING & COMMUNICATIONS, 2018, : 223 - 230
  • [43] Research on software defect prediction
    Laboratory for Internet Software Technologies, Institute of Software, Chinese Acad. of Sci., Beijing 100190, China
    不详
    不详
    Ruan Jian Xue Bao, 2008, 7 (1565-1580): : 1565 - 1580
  • [44] The impact of using biased performance metrics on software defect prediction research
    Yao, Jingxiu
    Shepperd, Martin
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 139 (139)
  • [45] Defect prediction for embedded software
    Oral, Atac Deniz
    Bener, Ayse Basar
    2007 22ND INTERNATIONAL SYMPOSIUM ON COMPUTER AND INFORMATION SCIENCES, 2007, : 346 - 351
  • [46] Impact of Data Sampling on Feature Selection Techniques for Software Defect Prediction
    Gao, Kehan
    Khoshgoftaar, Taghi M.
    Napolitano, Amri
    PROCEEDINGS 18TH ISSAT INTERNATIONAL CONFERENCE ON RELIABILITY & QUALITY IN DESIGN, 2012, : 91 - +
  • [47] Does class size matter? An in-depth assessment of the effect of class size in software defect prediction
    Tahir, Amjed
    Bennin, Kwabena E.
    Xiao, Xun
    MacDonell, Stephen G.
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (05)
  • [48] Does class size matter? An in-depth assessment of the effect of class size in software defect prediction
    Amjed Tahir
    Kwabena E. Bennin
    Xun Xiao
    Stephen G. MacDonell
    Empirical Software Engineering, 2021, 26
  • [49] Handling class imbalance problem in software maintainability prediction: an empirical investigation
    Malhotra, Ruchika
    Lata, Kusum
    FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (04)
  • [50] Handling class imbalance problem in software maintainability prediction: an empirical investigation
    Ruchika Malhotra
    Kusum Lata
    Frontiers of Computer Science, 2022, 16