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
相关论文
共 45 条
  • [1] [Anonymous], 2011, P 19 ACM SIGSOFT S 1
  • [2] A systematic and comprehensive investigation of methods to build and evaluate fault prediction models
    Arisholm, Erik
    Briand, Lionel C.
    Johannessen, Eivind B.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) : 2 - 17
  • [3] Class Imbalance Evolution and Verification Latency in Just-in-Time Software Defect Prediction
    Cabral, George G.
    Minku, Leandro L.
    Shihab, Emad
    Mujahid, Suhaib
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 666 - 676
  • [4] [蔡亮 Cai Liang], 2019, [软件学报, Journal of Software], V30, P1288
  • [5] 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
  • [6] Eyolfson J., 2011, P 8 WORK C MIN SOFTW, P153
  • [7] Revisiting Unsupervised Learning for Defect Prediction
    Fu, Wei
    Menzies, Tim
    [J]. ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 72 - 83
  • [8] Revisiting the Impact of Classification Techniques on the Performance of Defect Prediction Models
    Ghotra, Baljinder
    McIntosh, Shane
    Hassan, Ahmed E.
    [J]. 2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 789 - 800
  • [9] 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
  • [10] A Systematic Literature Review on Fault Prediction Performance in Software Engineering
    Hall, Tracy
    Beecham, Sarah
    Bowes, David
    Gray, David
    Counsell, Steve
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (06) : 1276 - 1304