Learning to rank software modules for effort-aware defect prediction

被引:7
|
作者
Rao, Jiqing [1 ]
Yu, Xiao [1 ]
Zhang, Chen [1 ]
Zhou, Junwei [1 ]
Xiang, Jianwen [1 ]
机构
[1] Wuhan Univ Technol, Sch Comp Sci & Artificial Intelligence, Wuhan, Peoples R China
基金
中国国家自然科学基金;
关键词
Effort-Aware Software Defect Prediction; defect density; Learning-to-Rank; MODELS; MACHINE; NUMBER;
D O I
10.1109/QRS-C55045.2021.00062
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Effort-Aware Software Defect Prediction (EADP) ranks software modules according to the defect density of software modules, which allows testers to find more defects while reviewing a certain amount of code, and allocates testing resources more effectively. However, the recently proposed CBS+ and EASC methods tend to rank the software modules with more LOC (Lines of Code) first. Therefore, there are less inspected modules when inspecting the top 20% LOC via CBS+ and EASC. Although the two methods achieve the high Precision@20% value, the Recall@20% and PofB@20% (Proportion of the found Bugs when inspecting the top 20% LOC) values of the two methods are low. Therefore, we propose a method called EALTR to construct the EADP model by directly maximizing the found bugs when inspecting the top 20% LOC. EALTR uses the linear model to build the EADP model, and then employs the composite differential evolution algorithm to generate a set of coefficient vectors for the linear model. Finally, EALTR selects the coefficient vector that achieves the highest PofB @20% value on the training dataset to construct the EADP model. Our experimental results on eleven project datasets with 41 releases show that the EALTR method performs better than CBS+ and EASC in terms of Recall@20% and PofB@20%.
引用
收藏
页码:372 / 380
页数:9
相关论文
共 50 条
  • [1] 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
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [2] 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
    [J]. 2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 298 - 309
  • [3] 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
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 157
  • [4] On effort-aware metrics for defect prediction
    Jonida Çarka
    Matteo Esposito
    Davide Falessi
    [J]. Empirical Software Engineering, 2022, 27
  • [5] On effort-aware metrics for defect prediction
    Carka, Jonida
    Esposito, Matteo
    Falessi, Davide
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [6] Effort-Aware Defect Prediction Models
    Mende, Thilo
    Koschke, Rainer
    [J]. 14TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2010), 2010, : 107 - 116
  • [7] 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
  • [8] 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
  • [9] A Deep Ensemble Learning Method for Effort-Aware Just-In-Time Defect Prediction
    Albahli, Saleh
    [J]. FUTURE INTERNET, 2019, 11 (12):
  • [10] DEJIT: A Differential Evolution Algorithm for Effort-Aware Just-in-Time Software Defect Prediction
    Yang, Xingguang
    Yu, Huiqun
    Fan, Guisheng
    Yang, Kang
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (03) : 289 - 310