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 条
  • [1] A Novel Effort Measure Method for Effort-Aware Just-in-Time Software Defect Prediction
    Chen, Liqiong
    Song, Shilong
    Wang, Can
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (08) : 1145 - 1169
  • [2] Effort-aware and just-in-time defect prediction with neural network
    Qiao, Lei
    Wang, Yan
    [J]. PLOS ONE, 2019, 14 (02):
  • [3] MULTI: Multi-objective effort-aware just-in-time software defect prediction
    Chen, Xiang
    Zhao, Yingquan
    Wang, Qiuping
    Yuan, Zhidan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 : 1 - 13
  • [4] Effort-Aware semi-Supervised just-in-Time defect prediction
    Li, Weiwei
    Zhang, Wenzhou
    Jia, Xiuyi
    Huang, Zhiqiu
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 126
  • [5] Poster: Bridging Effort-Aware Prediction and Strong Classification - a Just-in-Time Software Defect Prediction Study
    Guo, Yuchen
    Shepperd, Martin
    Li, Ning
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 325 - 326
  • [6] A Deep Ensemble Learning Method for Effort-Aware Just-In-Time Defect Prediction
    Albahli, Saleh
    [J]. FUTURE INTERNET, 2019, 11 (12):
  • [7] 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
    [J]. IET SOFTWARE, 2022, 16 (03) : 259 - 278
  • [8] Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction
    Huang, Qiao
    Xia, Xin
    Lo, David
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 2823 - 2862
  • [9] Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction
    Qiao Huang
    Xin Xia
    David Lo
    [J]. Empirical Software Engineering, 2019, 24 : 2823 - 2862
  • [10] Code churn: A neglected metric in effort-aware just-in-time defect prediction
    Liu, Jinping
    Zhou, Yuming
    Yang, Yibiao
    Lu, Hongmin
    Xu, Baowen
    [J]. 11TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2017), 2017, : 11 - 19