JOURNAL ARTICLE

Machine learning based software fault prediction utilizing source code metrics

Abstract

In the conventional techniques, it requires prior knowledge of faults or a special structure, which may not be realistic in practice while detecting the software faults. To deal with this problem, in this work, the proposed approach aims to predict the faults of the software utilizing the source code metrics. In addition, the purpose of this paper is to measure the capability of the software fault predictability in terms of accuracy, f-measure, precision, recall, Area Under ROC (Receiver Operating Characteristic) Curve (AUC). The study investigates the effect of the feature selection techniques for software fault prediction. As an experimental analysis, our proposed approach is validated from four publicly available datasets. The result predicted from Random Forest technique outperforms the other machine learning techniques in most of the cases. The effect of the feature selection techniques has increased the performance in few cases, however, in the maximum cases it is negligible or even the worse.

Keywords:
Computer science Predictability Feature selection Software Machine learning Random forest Precision and recall Data mining Measure (data warehouse) Feature (linguistics) Software quality Software metric Software bug Source code Artificial intelligence Fault (geology) Receiver operating characteristic Code (set theory) Software development Statistics

Metrics

25
Cited By
4.02
FWCI (Field Weighted Citation Impact)
21
Refs
0.94
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software System Performance and Reliability
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

Software Fault Prediction Based on Machine Learning Techniques Using Software Metrics.

Deepali Gupta

Journal:   Journal of Digital Information Management Year: 2008 Vol: 6 Pages: 421-426
JOURNAL ARTICLE

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

Manpreet SinghJitender Kumar Chhabra

Journal:   Journal of Computer Languages Year: 2023 Vol: 78 Pages: 101253-101253
JOURNAL ARTICLE

Static code metrics-based deep learning architecture for software fault prediction

Somya Goyal

Journal:   Soft Computing Year: 2022 Vol: 26 (24)Pages: 13765-13797
BOOK-CHAPTER

Software Defect Prediction Based on Source Code Metrics Time Series

Łukasz Puławski

Lecture notes in computer science Year: 2011 Pages: 104-120
© 2026 ScienceGate Book Chapters — All rights reserved.