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 条
  • [1] Effort-Aware Tri-Training for Semi-supervised Just-in-Time Defect Prediction
    Zhang, Wenzhou
    Li, Weiwei
    Jia, Xiuyi
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2019, PT II, 2019, 11440 : 293 - 304
  • [2] Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction
    Huang, Qiao
    Xia, Xin
    Lo, David
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 2823 - 2862
  • [3] Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction
    Qiao Huang
    Xin Xia
    David Lo
    Empirical Software Engineering, 2019, 24 : 2823 - 2862
  • [4] Effort-aware and just-in-time defect prediction with neural network
    Qiao, Lei
    Wang, Yan
    PLOS ONE, 2019, 14 (02):
  • [5] Supervised vs Unsupervised Models: A Holistic Look at Effort-Aware Just-in-Time Defect Prediction
    Huang, Qiao
    Xia, Xin
    Lo, David
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 159 - 170
  • [6] A Novel Effort Measure Method for Effort-Aware Just-in-Time Software Defect Prediction
    Chen, Liqiong
    Song, Shilong
    Wang, Can
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (08) : 1145 - 1169
  • [8] A compositional model for effort-aware Just-In-Time defect prediction on android apps
    Zhao, Kunsong
    Xu, Zhou
    Yan, Meng
    Xue, Lei
    Li, Wei
    Catolino, Gemma
    IET SOFTWARE, 2022, 16 (03) : 259 - 278
  • [9] Code churn: A neglected metric in effort-aware just-in-time defect prediction
    Liu, Jinping
    Zhou, Yuming
    Yang, Yibiao
    Lu, Hongmin
    Xu, Baowen
    11TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2017), 2017, : 11 - 19
  • [10] Effort-Aware Just-in-Time Defect Prediction: Simple Unsupervised Models Could Be Better Than Supervised Models
    Yang, Yibiao
    Zhou, Yuming
    Liu, Jinping
    Zhao, Yangyang
    Lu, Hongmin
    Xu, Lei
    Xu, Baowen
    Leung, Hareton
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 157 - 168