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 条
  • [31] A Semi-Supervised Approach to Software Defect Prediction
    Lu, Huihua
    Cukic, Bojan
    Culp, Mark
    2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 416 - 425
  • [32] Empirical Evaluation of Cross-Release Effort-Aware Defect Prediction Models
    Bennin, Kwabena Ebo
    Toda, Koji
    Kamei, Yasutaka
    Keung, Jacky
    Monden, Akito
    Ubayashi, Naoyasu
    2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2016), 2016, : 214 - 221
  • [33] Improving effort-aware defect prediction by directly learning to rank software modules
    Yu, Xiao
    Rao, Jiqing
    Liu, Lei
    Lin, Guancheng
    Hu, Wenhua
    Keung, Jacky Wai
    Zhou, Junwei
    Xiang, Jianwen
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [34] The impact of feature selection techniques on effort-aware defect prediction: An empirical study
    Li, Fuyang
    Lu, Wanpeng
    Keung, Jacky Wai
    Yu, Xiao
    Gong, Lina
    Li, Juan
    IET SOFTWARE, 2023, 17 (02) : 168 - 193
  • [35] Just-in-time defect prediction for software hunks
    Zhu, Xiaoyan
    Yan, Chenyu
    Whitehead, E. James, Jr.
    Niu, Binbin
    Zhu, Lei
    Pan, Long
    SOFTWARE-PRACTICE & EXPERIENCE, 2022, 52 (01): : 130 - 153
  • [36] Deep Learning for Just-In-Time Defect Prediction
    Yang, Xinli
    Lo, David
    Xia, Xin
    Zhang, Yun
    Sun, Jianling
    2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY (QRS 2015), 2015, : 17 - 26
  • [37] TWAO: Time-Weight-Aware Oversampling Method for Just-in-Time Software Defect Prediction
    Xue, Qi
    Zhuang, Weiyuan
    Zhao, Lei
    Zhangw, Xiaofang
    2024 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2024, : 328 - 339
  • [38] An Integrated Semi-supervised Software Defect Prediction Model
    Meng, Fanqi
    Cheng, Wenying
    Wang, Jingdong
    JOURNAL OF INTERNET TECHNOLOGY, 2023, 24 (06): : 1307 - 1317
  • [39] Just-In-Time Defect Prediction for Intellignet Computing Frameworks
    Ge J.
    Yu H.-Q.
    Fan G.-S.
    Tang J.-H.
    Huang Z.-J.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (09):
  • [40] Just-in-time Software Defect Prediction: Literature Review
    Cai L.
    Fan Y.-R.
    Yan M.
    Xia X.
    Ruan Jian Xue Bao/Journal of Software, 2019, 30 (05): : 1288 - 1307