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 条
  • [31] Supervised vs Unsupervised Models: A Holistic Look at Effort-Aware Just-in-Time Defect Prediction
    Huang, Qiao
    Xia, Xin
    Lo, David
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 159 - 170
  • [32] Principles for an Effort-Aware System
    Baneres, David
    [J]. ADVANCES ON P2P, PARALLEL, GRID, CLOUD AND INTERNET COMPUTING (3PGCIC-2017), 2018, 13 : 576 - 585
  • [33] Software defect prediction using learning to rank approach
    Ali Bou Nassif
    Manar Abu Talib
    Mohammad Azzeh
    Shaikha Alzaabi
    Rawan Khanfar
    Ruba Kharsa
    Lefteris Angelis
    [J]. Scientific Reports, 13
  • [34] A New Learning to Rank Approach for Software Defect Prediction
    Al-omari, Sara
    Elsheikh, Yousef
    Azzeh, Mohammed
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (08) : 805 - 812
  • [35] Software defect prediction using learning to rank approach
    Nassif, Ali Bou
    Talib, Manar Abu
    Azzeh, Mohammad
    Alzaabi, Shaikha
    Khanfar, Rawan
    Kharsa, Ruba
    Angelis, Lefteris
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [36] A Learning-to-Rank Approach to Software Defect Prediction
    Yang, Xiaoxing
    Tang, Ke
    Yao, Xin
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2015, 64 (01) : 234 - 246
  • [37] Effort-aware cross-project just-in-time defect prediction framework for mobile apps
    Cheng, Tian
    Zhao, Kunsong
    Sun, Song
    Mateen, Muhammad
    Wen, Junhao
    [J]. FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (06)
  • [38] Testing and Code Review Based Effort-Aware Bug Prediction Model
    Muthukumaran, K.
    Murthy, N. L. Bhanu
    Reddy, G. Karthik
    Talishetti, Prateek
    [J]. SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING, 2016, 653 : 17 - 30
  • [39] Revisiting Common Bug Prediction Findings Using Effort-Aware Models
    Kamei, Yasutaka
    Matsumoto, Shinsuke
    Monden, Akito
    Matsumoto, Ken-ichi
    Adams, Bram
    Hassan, Ahmed E.
    [J]. 2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [40] Cross -release code churn impact on effort -aware software defect prediction
    Miletic, M.
    Vukusic, M.
    Mausa, G.
    Grbac, T. Galinac
    [J]. 2018 41ST INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2018, : 1460 - 1466