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 条
  • [41] Cross-Project Online Just-In-Time Software Defect Prediction
    Tabassum, Sadia
    Minku, Leandro L.
    Feng, Danyi
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (01) : 268 - 287
  • [42] 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
  • [43] A Practical Human Labeling Method for Online Just-in-Time Software Defect Prediction
    Song, Liyan
    Minku, Leandro Lei
    Teng, Cong
    Yao, Xin
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 605 - 617
  • [44] Just-in-time software defect prediction using deep temporal convolutional networks
    Ardimento, Pasquale
    Aversano, Lerina
    Bernardi, Mario Luca
    Cimitile, Marta
    Iammarino, Martina
    NEURAL COMPUTING & APPLICATIONS, 2022, 34 (05): : 3981 - 4001
  • [45] How Well Just-In-Time Defect Prediction Techniques Enhance Software Reliability?
    Tian, Yuli
    Li, Ning
    Tiant, Jeff
    Zheng, Wei
    2020 IEEE 20TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY, AND SECURITY (QRS 2020), 2020, : 212 - 221
  • [46] 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
  • [47] Just-in-time software defect prediction using deep temporal convolutional networks
    Pasquale Ardimento
    Lerina Aversano
    Mario Luca Bernardi
    Marta Cimitile
    Martina Iammarino
    Neural Computing and Applications, 2022, 34 : 3981 - 4001
  • [48] Feature Importance in the Context of Traditional and Just-In-Time Software Defect Prediction Models
    Haldar, Susmita
    Capretz, Luiz Fernando
    2024 IEEE CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING, CCECE 2024, 2024, : 818 - 822
  • [49] An empirical study of data sampling techniques for just-in-time software defect prediction
    Li, Zhiqiang
    Du, Qiannan
    Zhang, Hongyu
    Jing, Xiao-Yuan
    Wu, Fei
    AUTOMATED SOFTWARE ENGINEERING, 2024, 31 (02)
  • [50] 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