Software defect prediction using learning to rank approach

被引:2
|
作者
Nassif, Ali Bou [1 ]
Talib, Manar Abu [2 ]
Azzeh, Mohammad [3 ]
Alzaabi, Shaikha [1 ]
Khanfar, Rawan [1 ]
Kharsa, Ruba [2 ]
Angelis, Lefteris [4 ]
机构
[1] Univ Sharjah, Dept Comp Engn, Sharjah, U Arab Emirates
[2] Univ Sharjah, Dept Comp Sci, Sharjah, U Arab Emirates
[3] Princess Sumaya Univ Technol, Dept Data Sci, Amman, Jordan
[4] Aristotle Univ Thessaloniki, Dept Stat & Informat Syst, Thessaloniki, Greece
关键词
D O I
10.1038/s41598-023-45915-5
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Software defect prediction (SDP) plays a significant role in detecting the most likely defective software modules and optimizing the allocation of testing resources. In practice, though, project managers must not only identify defective modules, but also rank them in a specific order to optimize the resource allocation and minimize testing costs, especially for projects with limited budgets. This vital task can be accomplished using Learning to Rank (LTR) algorithm. This algorithm is a type of machine learning methodology that pursues two important tasks: prediction and learning. Although this algorithm is commonly used in information retrieval, it also presents high efficiency for other problems, like SDP. The LTR approach is mainly used in defect prediction to predict and rank the most likely buggy modules based on their bug count or bug density. This research paper conducts a comprehensive comparison study on the behavior of eight selected LTR models using two target variables: bug count and bug density. It also studies the effect of using imbalance learning and feature selection on the employed LTR models. The models are empirically evaluated using Fault Percentile Average. Our results show that using bug count as ranking criteria produces higher scores and more stable results across multiple experiment settings. Moreover, using imbalance learning has a positive impact for bug density, but on the other hand it leads to a negative impact for bug count. Lastly, using the feature selection does not show significant improvement for bug density, while there is no impact when bug count is used. Therefore, we conclude that using feature selection and imbalance learning with LTR does not come up with superior or significant results.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] 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
  • [2] 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
  • [3] 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
  • [4] An Effective Rank Approach to Software Defect Prediction Using Software Metrics
    Lakshmi, P.
    Maheswari, Latha T.
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND CONTROL (ISCO'16), 2016,
  • [5] A Top-k Learning to Rank Approach to Cross-Project Software Defect Prediction
    Wang, Feng
    Huang, Jinxiao
    Ma, Yutao
    [J]. 2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 335 - 344
  • [6] Learning to rank software modules for effort-aware defect prediction
    Rao, Jiqing
    Yu, Xiao
    Zhang, Chen
    Zhou, Junwei
    Xiang, Jianwen
    [J]. 2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 372 - 380
  • [7] On Software Defect Prediction Using Machine Learning
    Ren, Jinsheng
    Qin, Ke
    Ma, Ying
    Luo, Guangchun
    [J]. JOURNAL OF APPLIED MATHEMATICS, 2014,
  • [8] Software Defect Prediction using Deep Learning
    Nevendra, Meetesh
    Singh, Pradeep
    [J]. ACTA POLYTECHNICA HUNGARICA, 2021, 18 (10) : 173 - 189
  • [9] Software Defect Prediction using Hybrid Approach
    Thant, Myo Wai
    Aung, Nyein Thwet Thwet
    [J]. 2019 INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION TECHNOLOGIES (ICAIT), 2019, : 262 - 267
  • [10] A Novel Approach to Improve Software Defect Prediction Accuracy Using Machine Learning
    Mehmood, Iqra
    Shahid, Sidra
    Hussain, Hameed
    Khan, Inayat
    Ahmad, Shafiq
    Rahman, Shahid
    Ullah, Najeeb
    Huda, Shamsul
    [J]. IEEE ACCESS, 2023, 11 : 63579 - 63597