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 条
  • [41] Bug numbers matter: An empirical study of effort-aware defect prediction using class labels versus bug numbers
    Yang, Peixin
    Zeng, Ziyao
    Zhu, Lin
    Zhang, Yanjiao
    Wang, Xin
    Ma, Chuanxiang
    Hu, Wenhua
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2024, : 49 - 78
  • [42] Effort-Aware Just-in-Time Defect Prediction: Simple Unsupervised Models Could Be Better Than Supervised Models
    Yang, Yibiao
    Zhou, Yuming
    Liu, Jinping
    Zhao, Yangyang
    Lu, Hongmin
    Xu, Lei
    Xu, Baowen
    Leung, Hareton
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 157 - 168
  • [43] An Empirical Study on Dependence Clusters for Effort-Aware Fault-Proneness Prediction
    Yang, Yibiao
    Harman, Mark
    Krinke, Jens
    Islam, Syed
    Binkley, David
    Zhou, Yuming
    Xu, Baowen
    [J]. 2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 296 - 307
  • [44] Effort-Aware Just-in-Time Defect Identification in Practice: A Case Study at Alibaba
    Yan, Meng
    Xia, Xin
    Fan, Yuanrui
    Lo, David
    Hassan, Ahmed E.
    Zhang, Xindong
    [J]. PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 1308 - 1319
  • [45] Is lines of code a good measure of effort in effort-aware models?
    Shihab, Emad
    Kamei, Yasutaka
    Adams, Bram
    Hassan, Ahmed E.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2013, 55 (11) : 1981 - 1993
  • [46] Empirical analysis of network measures for effort-aware fault-proneness prediction
    Ma, Wanwangying
    Chen, Lin
    Yang, Yibiao
    Zhou, Yuming
    Xu, Baowen
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 69 : 50 - 70
  • [47] Predicting Vulnerable Components via Text Mining or Software Metrics? An Effort-aware Perspective
    Tang, Yaming
    Zhao, Fei
    Yang, Yibiao
    Lu, Hongmin
    Zhou, Yuming
    Xu, Baowen
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY (QRS 2015), 2015, : 27 - 36
  • [48] Interactive, Effort-Aware Library Version Harmonization
    Huang, Kaifeng
    Chen, Bihuan
    Shi, Bowen
    Wang, Ying
    Xu, Congying
    Peng, Xin
    [J]. PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 518 - 529
  • [49] Interactive, effort-aware library version harmonization
    Huang, Kaifeng
    Chen, Bihuan
    Shi, Bowen
    Wang, Ying
    Xu, Congying
    Peng, Xin
    [J]. arXiv, 2020,
  • [50] A multi-objective effort-aware approach for early code review prediction and prioritization
    Chouchen, Moataz
    Ouni, Ali
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (01)