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 条
  • [1] 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
  • [2] Application of machine learning algorithms for code smell prediction using object-oriented software metrics
    Agnihotri, Mansi
    Chug, Anuradha
    JOURNAL OF STATISTICS AND MANAGEMENT SYSTEMS, 2020, 23 (07) : 1159 - 1171
  • [3] Software reusability metrics prediction and cost estimation by using machine learning algorithms
    Panigrahi, Rasmita
    Kuanar, Sanjay K.
    Kumar, Lov
    Padhy, Neelamadhab
    Satapathy, Suresh Chandra
    INTERNATIONAL JOURNAL OF KNOWLEDGE-BASED AND INTELLIGENT ENGINEERING SYSTEMS, 2019, 23 (04) : 317 - 328
  • [4] Vulnerable Code Detection Using Software Metrics and Machine Learning
    Medeiros, Nadia
    Ivaki, Naghmeh
    Costa, Pedro
    Vieira, Marco
    IEEE ACCESS, 2020, 8 : 219174 - 219198
  • [5] Applying machine learning to predict software fault proneness using change metrics, static code metrics, and a combination of them
    Alshehri, Yasser Ali
    Goseva-Popstojanova, Katerina
    Dzielski, Dale G.
    Devine, Thomas
    IEEE SOUTHEASTCON 2018, 2018,
  • [6] Evaluation of Sampling Techniques in Software Fault Prediction Using Metrics and Code Smells
    Kaur, Kamaldeep
    Kaur, Parmeet
    2017 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATIONS AND INFORMATICS (ICACCI), 2017, : 1377 - 1386
  • [7] Static code metrics-based deep learning architecture for software fault prediction
    Goyal, Somya
    SOFT COMPUTING, 2022, 26 (24) : 13765 - 13797
  • [8] Static code metrics-based deep learning architecture for software fault prediction
    Somya Goyal
    Soft Computing, 2022, 26 : 13765 - 13797
  • [9] Software Metrics for Fault Prediction Using Machine Learning Approaches A Literature Review with PROMISE Repository Dataset
    Meiliana
    Karim, Syaeful
    Warnars, Harco Leslie Hendric Spits
    Gaol, Ford Lumban
    Abdurachman, Edi
    Soewito, Benfano
    2017 IEEE INTERNATIONAL CONFERENCE ON CYBERNETICS AND COMPUTATIONAL INTELLIGENCE (CYBERNETICSCOM), 2017, : 19 - 23
  • [10] 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