Source Code Metrics for Software Defects Prediction

被引:2
|
作者
Rebro, Dominik Arne [1 ]
Rossi, Bruno [1 ]
Chren, Stanislav [1 ]
机构
[1] Masaryk Univ, Brno, Czech Republic
关键词
Software Defect Prediction; Software Metrics; Mining Software Repositories; Software Quality;
D O I
10.1145/3555776.3577809
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In current research, there are contrasting results about the applicability of software source code metrics as features for defect prediction models. The goal of the paper is to evaluate the adoption of software metrics in models for software defect prediction, identifying the impact of individual source code metrics. With an empirical study on 275 release versions of 39 Java projects mined from GitHub, we compute 12 software metrics and collect software defect information. We train and compare three defect classification models. The results across all projects indicate that Decision Tree (DT) and Random Forest (RF) classifiers show the best results. Among the highest-performing individual metrics are NOC, NPA, DIT, and LCOM5. While other metrics, such as CBO, do not bring significant improvements to the models.
引用
收藏
页码:1469 / 1472
页数:4
相关论文
共 50 条
  • [1] Software Defect Prediction Based on Source Code Metrics Time Series
    Pulawski, Lukasz
    TRANSACTIONS ON ROUGH SETS XIII, 2011, 6499 : 104 - 120
  • [2] Web service QoS prediction using improved software source code metrics
    Rangarajan, Sarathkumar
    Liu, Huai
    Wang, Hua
    PLOS ONE, 2020, 15 (01):
  • [3] Analysing Bug Prediction Capabilities of Static Code Metrics in Open Source Software
    Ferzund, Javed
    Ahsan, Syed Nadeem
    Wotawa, Franz
    SOFTWARE PROCESS AND PRODUCT MEASUREMENT, 2008, 5338 : 331 - 343
  • [4] Machine learning based software fault prediction utilizing source code metrics
    Bhandari, Guru Prasad
    Gupta, Ratneshwer
    PROCEEDINGS ON 2018 IEEE 3RD INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND SECURITY (ICCCS), 2018, : 40 - 45
  • [5] Defects in The Next Release; Software Defect Prediction Based on Source Code Versions
    Nehi, Molouk Mishmast
    Fakhrpoor, Zahra
    Moosavi, Mohammad R.
    26TH IRANIAN CONFERENCE ON ELECTRICAL ENGINEERING (ICEE 2018), 2018, : 1589 - 1594
  • [6] Software maintainability prediction by data mining of software code metrics
    Kaur, Arvinder
    Kaur, Kamaldeep
    Pathak, Kaushal
    2014 INTERNATIONAL CONFERENCE ON DATA MINING AND INTELLIGENT COMPUTING (ICDMIC), 2014,
  • [7] Source Code Quality Classification Based On Software Metrics
    Vytovtov, Petr
    Markov, Evgeny
    PROCEEDINGS OF THE 20TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION (FRUCT 2017), 2017, : 505 - 511
  • [8] Practical Emulation of Software Defects in Source Code
    Pereira, Goncalo
    Barbosa, Raul
    Madeira, Henrique
    2016 12TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2016), 2016, : 130 - 140
  • [9] 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
  • [10] A comparison between software design and code metrics for the prediction of software fault content
    Zhao, M
    Wohlin, C
    Ohlsson, N
    Xie, M
    INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (14) : 801 - 809