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 条
  • [31] Improved prediction of software defects using ensemble machine learning techniques
    Sweta Mehta
    K. Sridhar Patnaik
    Neural Computing and Applications, 2021, 33 : 10551 - 10562
  • [32] Improved prediction of software defects using ensemble machine learning techniques
    Mehta, Sweta
    Patnaik, K. Sridhar
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (16): : 10551 - 10562
  • [33] The State of Machine Learning Methodology in Software Fault Prediction
    Hall, Tracy
    Bowes, David
    2012 11TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA 2012), VOL 2, 2012, : 314 - 319
  • [34] A study on software metrics based software defect prediction using data mining and machine learning techniques
    Prasad, Manjula C.M.
    Florence, Lilly
    Arya, Arti
    International Journal of Database Theory and Application, 2015, 8 (03): : 179 - 190
  • [35] Prediction of Quality of Service Parameters Using Aggregate Software Metrics and Machine Learning Techniques
    Tripathi, Manish K.
    Chaubisa, Divyanshu
    Kumar, Lov
    Neti, Lalita Bhanu Murthy
    IEEE INDICON: 15TH IEEE INDIA COUNCIL INTERNATIONAL CONFERENCE, 2018,
  • [36] A Software Vulnerability Prediction Model Using Traceable Code Patterns and Software Metrics
    Sultana K.Z.
    Boyd C.B.
    Williams B.J.
    SN Computer Science, 4 (5)
  • [37] Fault Prediction Using Statistical and Machine Learning Methods for Improving Software Quality
    Malhotra, Ruchika
    Jain, Ankita
    JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2012, 8 (02): : 241 - 262
  • [38] An automated software failure prediction technique using hybrid machine learning algorithms
    Chennappan, R.
    Vidyaathulasiraman
    JOURNAL OF ENGINEERING RESEARCH, 2023, 11 (01):
  • [39] A Taxonomy of Metrics for Software Fault Prediction
    Caulo, Maria
    Scanniello, Giuseppe
    2020 46TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2020), 2020, : 429 - 436
  • [40] A Taxonomy of Metrics for Software Fault Prediction
    Caulo, Maria
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 1144 - 1147