DEJIT: A Differential Evolution Algorithm for Effort-Aware Just-in-Time Software Defect Prediction

被引:12
|
作者
Yang, Xingguang [1 ,2 ]
Yu, Huiqun [1 ,3 ]
Fan, Guisheng [1 ]
Yang, Kang [1 ]
机构
[1] East China Univ Sci & Technol, Dept Comp Sci & Engn, Shanghai 200237, Peoples R China
[2] Shanghai Key Lab Comp Software Evaluating & Testi, Shanghai 201112, Peoples R China
[3] Shanghai Engn Res Ctr Smart Energy, Shanghai, Peoples R China
关键词
Software defect prediction; just-in-time; differential evolution; empirical software engineering; CLASSIFICATION; MODELS;
D O I
10.1142/S0218194021500108
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software defect prediction is an effective approach to save testing resources and improve software quality, which is widely studied in the field of software engineering. The effort-aware just-in-time software defect prediction (JIT-SDP) aims to identify defective software changes in limited software testing resources. Although many methods have been proposed to solve the JIT-SDP, the effort-aware prediction performance of the existing models still needs to be further improved. To this end, we propose a differential evolution (DE) based supervised method DEJIT to build JIT-SDP models. Specifically, first we propose a metric called density-percentile-average (DPA), which is used as optimization objective on the training set. Then, we use logistic regression (LR) to build a prediction model. To make the LR obtain the maximum DPA on the training set, we use the DE algorithm to determine the coefficients of the LR. The experiment uses defect data sets from six open source projects. We compare the proposed method with state-of-the-art four supervised models and four unsupervised models in cross-validation, cross-project-validation and timewise-cross-validation scenarios. The empirical results demonstrate that the DEJIT method can significantly improve the effort-aware prediction performance in the three evaluation scenarios. Therefore, the DEJIT method is promising for the effort-aware JIT-SDP.
引用
收藏
页码:289 / 310
页数:22
相关论文
共 50 条
  • [21] On effort-aware metrics for defect prediction
    Carka, Jonida
    Esposito, Matteo
    Falessi, Davide
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [22] Effort-Aware Defect Prediction Models
    Mende, Thilo
    Koschke, Rainer
    14TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2010), 2010, : 107 - 116
  • [23] On effort-aware metrics for defect prediction
    Jonida Çarka
    Matteo Esposito
    Davide Falessi
    Empirical Software Engineering, 2022, 27
  • [24] 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
  • [25] 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
  • [26] Class Imbalance Evolution and Verification Latency in Just-in-Time Software Defect Prediction
    Cabral, George G.
    Minku, Leandro L.
    Shihab, Emad
    Mujahid, Suhaib
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 666 - 676
  • [27] 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
  • [28] 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
  • [29] A Systematic Survey of Just-in-Time Software Defect Prediction
    Zhao, Yunhua
    Damevski, Kostadin
    Chen, Hui
    ACM COMPUTING SURVEYS, 2023, 55 (10)
  • [30] 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,