Interpretable Software Defect Prediction from Project Effort and Static Code Metrics

被引:2
|
作者
Haldar, Susmita [1 ,2 ]
Capretz, Luiz Fernando [2 ]
机构
[1] Fanshawe Coll, Sch Informat Technol, London, ON N5Y 5R6, Canada
[2] Western Univ, Dept Elect & Comp Engn, London, ON N6A 3K7, Canada
关键词
defect prediction; explainable machine learning; software quality; interpretability; cross-project defect prediction; NEAREST-NEIGHBOR;
D O I
10.3390/computers13020052
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Software defect prediction models enable test managers to predict defect-prone modules and assist with delivering quality products. A test manager would be willing to identify the attributes that can influence defect prediction and should be able to trust the model outcomes. The objective of this research is to create software defect prediction models with a focus on interpretability. Additionally, it aims to investigate the impact of size, complexity, and other source code metrics on the prediction of software defects. This research also assesses the reliability of cross-project defect prediction. Well-known machine learning techniques, such as support vector machines, k-nearest neighbors, random forest classifiers, and artificial neural networks, were applied to publicly available PROMISE datasets. The interpretability of this approach was demonstrated by SHapley Additive exPlanations (SHAP) and local interpretable model-agnostic explanations (LIME) techniques. The developed interpretable software defect prediction models showed reliability on independent and cross-project data. Finally, the results demonstrate that static code metrics can contribute to the defect prediction models, and the inclusion of explainability assists in establishing trust in the developed models.
引用
收藏
页数:23
相关论文
共 50 条
  • [31] A New Metrics Selection Method for Software Defect Prediction
    Xia, Ye
    Yan, Guoying
    Jiang, Xingwei
    Yang, Yanyan
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATICS AND COMPUTING (PIC), 2014, : 433 - 436
  • [32] Developer Micro Interaction Metrics for Software Defect Prediction
    Lee, Taek
    Nam, Jaechang
    Han, Donggyun
    Kim, Sunghun
    In, Hoh Peter
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (11) : 1015 - 1035
  • [33] Improving Software Defect Prediction by Aggregated Change Metrics
    Sikic, Lucija
    Afric, Petar
    Kurdija, Adrian Satja
    Silic, Marin
    IEEE ACCESS, 2021, 9 : 19391 - 19411
  • [34] An Effective Rank Approach to Software Defect Prediction Using Software Metrics
    Lakshmi, P.
    Maheswari, Latha T.
    PROCEEDINGS OF THE 10TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND CONTROL (ISCO'16), 2016,
  • [35] Early Software Defect Prediction: Right-Shifting Software Effort Data into a Defect Curve
    Okumoto, Kazuhira
    2022 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2022), 2022, : 43 - 48
  • [36] A multivariate analysis of static code attributes for defect prediction
    Turhan, Burak
    Bener, Ayse
    USIC 2007: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2007, : 231 - 237
  • [37] A Survey on Software Defect Prediction in Cross Project
    Jadhav, Rohini
    Joshi, Shashank. D.
    Thorat, Umesh
    Joshi, Aditi S.
    PROCEEDINGS OF THE 2019 6TH INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2019, : 1014 - 1019
  • [38] Replacing Code Metrics in Software Fault Prediction with Early Life Cycle Metrics
    Jiang, Yue
    Lin, Jie
    Cukic, Bojan
    Lin, Shuye
    Hu, Zhijian
    2013 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND TECHNOLOGY (ICIST), 2013, : 516 - 523
  • [39] Poster: Defect Prediction Metrics for Infrastructure as Code Scripts in DevOps
    Rahman, Akond
    Stallings, Jonathan
    Williams, Laurie
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 414 - 415
  • [40] Code Cleaning for Software Defect Prediction: A Cautionary Tale
    Shippey, Thomas
    Bowes, David
    Counsell, Steve
    Hall, Tracy
    44TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2018), 2018, : 239 - 243