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 条
  • [31] Effort-Aware Just-in-Time Bug Prediction for Mobile Apps Via Cross-Triplet Deep Feature Embedding
    Xu, Zhou
    Zhao, Kunsong
    Zhang, Tao
    Fu, Chunlei
    Yan, Meng
    Xie, Zhiwen
    Zhang, Xiaohong
    Catolino, Gemma
    IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (01) : 204 - 220
  • [32] Towards Reliable Online Just-in-Time Software Defect Prediction
    Cabral, George G.
    Minku, Leandro L.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (03) : 1342 - 1358
  • [33] Interpretability application of the Just-in-Time software defect prediction model
    Zheng, Wei
    Shen, Tianren
    Chen, Xiang
    Deng, Peiran
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 188
  • [34] Temporal Convolutional Networks for Just-in-Time Software Defect Prediction
    Ardimento, Pasquale
    Aversano, Lerina
    Bernardi, Mario
    Cimitile, Marta
    ICSOFT: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES, 2020, : 384 - 393
  • [35] Improving classifier-based effort-aware software defect prediction by reducing ranking errors
    Guo, Yuchen
    Shepperd, Martin
    Li, Ning
    PROCEEDINGS OF 2024 28TH INTERNATION CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, EASE 2024, 2024, : 160 - 169
  • [36] An Empirical Study of Learning to Rank Techniques for Effort-Aware Defect Prediction
    Yu, Xiao
    Bennin, Kwabena Ebo
    Liu, Jin
    Keung, Jacky Wai
    Yin, Xiaofei
    Xu, Zhou
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 298 - 309
  • [37] On the relative value of clustering techniques for Unsupervised Effort-Aware Defect Prediction
    Yang, Peixin
    Zhu, Lin
    Zhang, Yanjiao
    Ma, Chuanxiang
    Liu, Liming
    Yu, Xiao
    Hu, Wenhua
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 245
  • [38] A Preliminary Evaluation of CPDP Approaches on Just-in-Time Software Defect Prediction
    Amasaki, Sousuke
    Aman, Hirohisa
    Yokogawa, Tomoyuki
    2021 47TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2021), 2021, : 279 - 286
  • [39] Local versus Global Models for Just-In-Time Software Defect Prediction
    Yang, Xingguang
    Yu, Huiqun
    Fan, Guisheng
    Shi, Kai
    Chen, Liqiong
    SCIENTIFIC PROGRAMMING, 2019, 2019
  • [40] Finding the best learning to rank algorithms for effort-aware defect prediction
    Yu, Xiao
    Dai, Heng
    Li, Li
    Gu, Xiaodong
    Keung, Jacky Wai
    Bennin, Kwabena Ebo
    Li, Fuyang
    Liu, Jin
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 157