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]   Just-in-time defect prediction based on AST change embedding [J].
Zhuang, Weiyuan ;
Wang, Hao ;
Zhang, Xiaofang .
KNOWLEDGE-BASED SYSTEMS, 2022, 248
[42]   Just-in-time defect prediction for mobile applications: using shallow or deep learning? [J].
van Dinter, Raymon ;
Catal, Cagatay ;
Giray, Goerkem ;
Tekinerdogan, Bedir .
SOFTWARE QUALITY JOURNAL, 2023, 31 (04) :1281-1302
[43]   How Well Just-In-Time Defect Prediction Techniques Enhance Software Reliability? [J].
Tian, Yuli ;
Li, Ning ;
Tiant, Jeff ;
Zheng, Wei .
2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020), 2020, :212-221
[44]   Adversarial Learning for Cross-Project Semi-Supervised Defect Prediction [J].
Sun, Ying ;
Jing, Xiao-Yuan ;
Wu, Fei ;
Li, Juanjuan ;
Xing, Danlei ;
Chen, Haowen ;
Sun, Yanfei .
IEEE ACCESS, 2020, 8 :32674-32687
[45]   IRJIT: A simple, online, information retrieval approach for just-in-time software defect prediction [J].
Sahar, Hareem ;
Bangash, Abdul Ali ;
Hindle, Abram ;
Barbosa, Denilson .
EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (05)
[46]   A Preliminary Evaluation of CPDP Approaches on Just-in-Time Software Defect Prediction [J].
Amasaki, Sousuke ;
Aman, Hirohisa ;
Yokogawa, Tomoyuki .
2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, :279-286
[47]   Deep Just-In-Time Defect Localization [J].
Qiu, Fangcheng ;
Gao, Zhipeng ;
Xia, Xin ;
Lo, David ;
Grundy, John ;
Wang, Xinyu .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (12) :5068-5086
[48]   Cross-Project Online Just-In-Time Software Defect Prediction [J].
Tabassum, Sadia ;
Minku, Leandro L. ;
Feng, Danyi .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) :268-287
[49]   Testing and Code Review Based Effort-Aware Bug Prediction Model [J].
Muthukumaran, K. ;
Murthy, N. L. Bhanu ;
Reddy, G. Karthik ;
Talishetti, Prateek .
SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, 2016, 653 :17-30
[50]   Just-in-Time crash prediction for mobile apps [J].
Wimalasooriya, Chathrie ;
Licorish, Sherlock A. ;
da Costa, Daniel Alencar ;
MacDonell, Stephen G. .
EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (03)