Software Defect Prediction Based on Source Code Metrics Time Series

被引:0
|
作者
Pulawski, Lukasz [1 ]
机构
[1] Univ Warsaw, Inst Informat, PL-02097 Warsaw, Poland
来源
关键词
software defect prediction; source code metrics; classification; ROUGH; CLASSIFICATION;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Source code metrics have been proved to be reliable indicators of the vulnerability of the source code to defects. Typically, a source code unit with high value of a certain metric is considered to be badly structured and thus error-prone. However, analysis of source code change history shows that there are cases when source files with low values of metrics still turn out to be defective. Instead of introducing new metrics for such cases, I investigate the possibility of estimating the vulnerability of source code units to defects on the basis of the history of the values of selected well-known metrics. The experiments show that we can efficiently identify bad source code units just by looking at the history of metrics, coming from only a few revisions that precede the actual resolution of the defect.
引用
收藏
页码:104 / 120
页数:17
相关论文
共 50 条
  • [1] Source Code Metrics for Software Defects Prediction
    Rebro, Dominik Arne
    Rossi, Bruno
    Chren, Stanislav
    38TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2023, 2023, : 1469 - 1472
  • [2] 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
  • [3] 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
  • [4] Software Defect Prediction Using Static Code Metrics Underestimates Defect-Proneness
    Gray, David
    Bowes, David
    Davey, Neil
    Sun, Yi
    Christianson, Bruce
    2010 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS IJCNN 2010, 2010,
  • [5] 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
  • [6] PREDICTION OF DEFECT DENSITY FOR OPEN SOURCE SOFTWARE USING REPOSITORY METRICS
    Verma, Dinesh
    Kumar, Shishir
    JOURNAL OF WEB ENGINEERING, 2017, 16 (3-4): : 293 - 310
  • [7] Interpretable Software Defect Prediction from Project Effort and Static Code Metrics
    Haldar, Susmita
    Capretz, Luiz Fernando
    COMPUTERS, 2024, 13 (02)
  • [8] Mining Static Code Metrics for a Robust Prediction of Software Defect-Proneness
    Li, Lianfa
    Leung, Hareton
    2011 FIFTH INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2011), 2011, : 207 - 214
  • [9] Web service QoS prediction using improved software source code metrics
    Rangarajan, Sarathkumar
    Liu, Huai
    Wang, Hua
    PLOS ONE, 2020, 15 (01):
  • [10] 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