Effort-Aware semi-Supervised just-in-Time defect prediction

被引:37
|
作者
Li, Weiwei [1 ]
Zhang, Wenzhou [2 ]
Jia, Xiuyi [2 ]
Huang, Zhiqiu [3 ]
机构
[1] Nanjing Univ Aeronaut & Astronaut, Coll Astronaut, Nanjing 210016, Peoples R China
[2] Nanjing Univ Sci & Technol, Sch Comp Sci & Engn, Nanjing 210094, Peoples R China
[3] Nanjing Univ Aeronaut & Astronaut, Coll Comp Sci & Technol, Nanjing 210016, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
Defect prediction; Just-in-time; Tri-training; Effort-aware; SOFTWARE; MODELS;
D O I
10.1016/j.infsof.2020.106364
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Software defect prediction is an important technique that can help practitioners allocate their quality assurance efforts. In recent years, just-in-time (JIT) defect prediction has attracted considerable interest, as it enables developers to identify risky changes at check-in time. Objective: Many studies have conducted research from supervised and unsupervised perspectives. A model that does not rely on label information would be preferred. However, the performance of unsupervised models proposed by previous studies in the classification scenario was unsatisfactory due to the lack of supervised information. Furthermore, most supervised models fail to outperform simple unsupervised models in the ranking scenario. To overcome this weakness, we conduct research from the semi-supervised perspective that only requires a small quantity of labeled data for training. Method: In this paper, we propose a semi-supervised model for JIT defect prediction named Effort-Aware TriTraining (EATT), which is an effort-aware method using a greedy strategy to rank changes. We compare EATT with the state-of-the-art supervised and unsupervised models with respect to different labeled rate. Results: The experimental results on six open-source projects demonstrate that EATT outperforms existing supervised and unsupervised models for effort-aware JIT defect prediction, and has similar or superior performance in classifying defect-inducing changes. Conclusion: The results show that EATT can not only achieve high classification accuracy as supervised models, but also offer more practical value than other compared models from the perspective of the effort needed to review changes.
引用
收藏
页数:17
相关论文
共 50 条
  • [41] A Systematic Survey of Just-in-Time Software Defect Prediction
    Zhao, Yunhua
    Damevski, Kostadin
    Chen, Hui
    ACM COMPUTING SURVEYS, 2023, 55 (10)
  • [42] An Empirical Study on Just-in-time Conformal Defect Prediction
    Shahini, Xhulja
    Metzger, Andreas
    Pohl, Klaus
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 88 - 99
  • [43] Just-in-Time Software Defect Prediction Techniques: A Survey
    Alnagi, Eman
    Azzeh, Mohammad
    2024 15TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION SYSTEMS, ICICS 2024, 2024,
  • [44] The Impact of Duplicate Changes on Just-in-Time Defect Prediction
    Duan, Ruifeng
    Xu, Haitao
    Fan, Yuanrui
    Yan, Meng
    IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (03) : 1294 - 1308
  • [45] ApacheJIT: A Large Dataset for Just-In-Time Defect Prediction
    Keshavarz, Hossein
    Nagappan, Meiyappan
    2022 MINING SOFTWARE REPOSITORIES CONFERENCE (MSR 2022), 2022, : 191 - 195
  • [46] JITBot: An Explainable Just-In-Time Defect Prediction Bot
    Khanan, Chaiyakarn
    Luewichana, Worawit
    Pruktharathikoon, Krissakorn
    Jiarpakdee, Jirayus
    Tantithamthavorn, Chakkrit
    Choetkiertikul, Morakot
    Ragkhitwetsagul, Chaiyong
    Sunetnanta, Thanwadee
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1336 - 1339
  • [47] The impact of context metrics on just-in-time defect prediction
    Kondo, Masanari
    German, Daniel M.
    Mizuno, Osamu
    Choi, Eun-Hye
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (01) : 890 - 939
  • [48] Fine-grained just-in-time defect prediction
    Pascarella, Luca
    Palomba, Fabio
    Bacchelli, Alberto
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 150 : 22 - 36
  • [49] The impact of context metrics on just-in-time defect prediction
    Masanari Kondo
    Daniel M. German
    Osamu Mizuno
    Eun-Hye Choi
    Empirical Software Engineering, 2020, 25 : 890 - 939
  • [50] A multi-objective effort-aware defect prediction approach based on NSGA-II
    Yu, Xiao
    Liu, Liming
    Zhu, Lin
    Keung, Jacky Wai
    Wang, Zijian
    Li, Fuyang
    APPLIED SOFT COMPUTING, 2023, 149