Improved software fault prediction using new code metrics and machine learning algorithms

被引:5
|
作者
Singh, Manpreet [1 ]
Chhabra, Jitender Kumar [1 ]
机构
[1] Natl Inst Technol, Comp Engn Dept, Kurukshetra, India
关键词
Cohesion; Complexity; Coupling; Fault prediction; Source code metrics; OBJECT-ORIENTED METRICS; EMPIRICAL VALIDATION;
D O I
10.1016/j.cola.2023.101253
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many code metrics exist for bug prediction. However, these metrics are based on the trivial count of code properties and are not sufficient. This research article proposes three new code metrics based on class complexity, coupling, and cohesion to fill the gap. The Promise repository metrics suite's complexity, coupling, and cohesion metrics are replaced by the proposed metrics, and a new metric suite is generated. Experiments show that the proposed metrics suite gives more than 2 % improvement in AUC and precision and approximately 1.5 % in f1-score and recall with fewer code metrics than the existing metrics suite.
引用
收藏
页数:18
相关论文
共 50 条
  • [41] The Influence of Deep Learning Algorithms Factors in Software Fault Prediction
    Al Qasem, Osama
    Akour, Mohammed
    Alenezi, Mamdouh
    IEEE ACCESS, 2020, 8 (08): : 63945 - 63960
  • [42] A comparative study of unsupervised learning algorithms for software fault prediction
    Jothi, R.
    PROCEEDINGS OF THE 2018 SECOND INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICICCS), 2018, : 741 - 745
  • [43] Deep Learning for Software Vulnerabilities Detection Using Code Metrics
    Zagane, Mohammed
    Abdi, Mustapha Kamel
    Alenezi, Mamdouh
    IEEE ACCESS, 2020, 8 : 74562 - 74570
  • [44] Software reusability metrics prediction by using evolutionary algorithms: The interactive mobile learning application RozGaar
    Padhy, Neelamadhab
    Satapathy, Suresh Chandra
    Mohanty, J. R.
    Panigrahi, Rasmita
    INTERNATIONAL JOURNAL OF KNOWLEDGE-BASED AND INTELLIGENT ENGINEERING SYSTEMS, 2018, 22 (04) : 261 - 276
  • [45] Diversity based imbalance learning approach for software fault prediction using machine learning models
    Manchala, Pravali
    Bisi, Manjubala
    APPLIED SOFT COMPUTING, 2022, 124
  • [46] Using machine learning techniques for DSP software performance prediction at source code level
    Liu, Weihua
    Hu, Erh-Wen
    Su, Bogong
    Wang, Jian
    CONNECTION SCIENCE, 2021, 33 (01) : 26 - 41
  • [47] An improved approach to software defect prediction using a hybrid machine learning model
    Miholca, Diana-Lucia
    2018 20TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2018), 2019, : 443 - 448
  • [48] 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
  • [49] Scientific programming using optimized machine learning techniques for software fault prediction to improve software quality
    Shafiq, Muhammad
    Alghamedy, Fatemah H.
    Jamal, Nasir
    Kamal, Tahir
    Daradkeh, Yousef Ibrahim
    Shabaz, Mohammad
    IET SOFTWARE, 2023, 17 (04) : 694 - 704
  • [50] A Buffer Overflow Prediction Approach Based on Software Metrics and Machine Learning
    Ren, Jiadong
    Zheng, Zhangqi
    Liu, Qian
    Wei, Zhiyao
    Yan, Huaizhi
    SECURITY AND COMMUNICATION NETWORKS, 2019, 2019