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 条
  • [21] Software Birthmark Usability for Source Code Transformation Using Machine Learning Algorithms
    Guan, Keqing
    Nazir, Shah
    Kong, Xianli
    Rehman, Sadaqat Ur
    SCIENTIFIC PROGRAMMING, 2021, 2021
  • [22] Predicting Code Smells and Analysis of Predictions: Using Machine Learning Techniques and Software Metrics
    Mohammad Y. Mhawish
    Manjari Gupta
    Journal of Computer Science and Technology, 2020, 35 : 1428 - 1445
  • [23] Predicting Code Smells and Analysis of Predictions: Using Machine Learning Techniques and Software Metrics
    Mhawish, Mohammad Y.
    Gupta, Manjari
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2020, 35 (06) : 1428 - 1445
  • [25] Development of optimised software fault prediction model using machine learning
    Juneja, Shallu
    Bhathal, Gurjit Singh
    Sidhu, Brahmaleen K.
    INTELLIGENT DECISION TECHNOLOGIES-NETHERLANDS, 2024, 18 (02): : 1355 - 1376
  • [26] EXPERIMENTAL STUDY ON SOFTWARE FAULT PREDICTION USING MACHINE LEARNING MODEL
    Thi Minh Phuong Ha
    Duy Hung Tran
    Le Thi My Hanh
    Nguyen Thanh Binh
    PROCEEDINGS OF 2019 11TH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (KSE 2019), 2019, : 386 - 390
  • [27] Software Fault Prediction Using ML Algorithms
    Neha, T.
    Anusha, M.
    Anusha, D.
    PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON DATA SCIENCE, MACHINE LEARNING AND APPLICATIONS, VOL 1, ICDSMLA 2023, 2025, 1273 : 1040 - 1049
  • [28] Using the Support Vector Machine as a Classification Method for Software Defect Prediction with Static Code Metrics
    Gray, David
    Bowes, David
    Davey, Neil
    Sun, Yi
    Christianson, Bruce
    ENGINEERING APPLICATIONS OF NEURAL NETWORKS, PROCEEDINGS, 2009, 43 : 223 - 234
  • [29] Software Fault Prediction Using Data Mining Techniques on Software Metrics
    Kumar, Rakesh
    Chaturvedi, Amrita
    MACHINE LEARNING AND BIG DATA ANALYTICS (PROCEEDINGS OF INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND BIG DATA ANALYTICS (ICMLBDA) 2021), 2022, 256 : 304 - 313
  • [30] An Empirical Study On Software Metrics and Machine Learning to Identify Untrustworthy Code
    Medeiros, Nadia
    Ivaki, Naghmeh
    Costa, Pedro
    Vieira, Marco
    2021 17TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2021), 2021, : 87 - 94