Enhancing Software Reliability through Intelligent Fault Prediction Using Machine Learning

Software fault prediction plays a crucial role in enhancing software quality and reliability by enabling early detection of defect-prone modules. This study proposes a machine learning-based predictive framework to identify software faults using historical software metrics and defect data. The objective is to evaluate and compare the performance of various machine learning algorithms—Random Forest, XGBoost, Support Vector Machine (SVM), and Neural Networks—for their effectiveness in fault detection. Public benchmark datasets comprising object-oriented metrics such as CK, Halstead, and McCabe were used after undergoing pre-processing steps including normalization; class balancing using SMOTE, and feature selection through PCA and RFE. Models were trained and tested using stratified k-fold cross-validation, and evaluated using metrics such as Accuracy, Precision, Recall, F1-score, and ROC-AUC. Among the models, XGBoost outperformed others, achieving the highest F1-score and ROC-AUC, followed by Random Forest. Feature importance analysis and SHAP value interpretation provided insights into key predictors contributing to software faults, enhancing the model's transparency and practical usability. The study demonstrates that ensemble learning methods significantly improve the fault prediction process, making them suitable for deployment in real-world software quality assurance workflows. These findings contribute to the ongoing advancement of predictive software engineering and open new avenues for integrating intelligent fault detection systems in continuous integration and DevOps environments.

Authors

Institutions

Publication Details

Journal
International Journal of Scientific Research in Computer Science Engineering and Information Technology
Published
2025-06-11
DOI
https://doi.org/10.32628/cseit25113376
Citations
2
Primary Topic
Software Reliability and Analysis Research
Type
article
Field-Weighted Citation Impact
4.62
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Software Reliability through Intelligent Fault Prediction Using Machine Learning

Anupa Sinha, Durga
2 citations
International Journal of Scientific Research in Computer Science Engineering and Information Technology
Software Reliability and Analysis Research
4.62
article

Enhancing Software Reliability through Intelligent Fault Prediction Using Machine Learning

Anupa Sinha, Durga
article en
2 citations

Abstract

Software fault prediction plays a crucial role in enhancing software quality and reliability by enabling early detection of defect-prone modules. This study proposes a machine learning-based predictive framework to identify software faults using historical software metrics and defect data. The objective is to evaluate and compare the performance of various machine learning algorithms—Random Forest, XGBoost, Support Vector Machine (SVM), and Neural Networks—for their effectiveness in fault detection. Public benchmark datasets comprising object-oriented metrics such as CK, Halstead, and McCabe were used after undergoing pre-processing steps including normalization; class balancing using SMOTE, and feature selection through PCA and RFE. Models were trained and tested using stratified k-fold cross-validation, and evaluated using metrics such as Accuracy, Precision, Recall, F1-score, and ROC-AUC. Among the models, XGBoost outperformed others, achieving the highest F1-score and ROC-AUC, followed by Random Forest. Feature importance analysis and SHAP value interpretation provided insights into key predictors contributing to software faults, enhancing the model's transparency and practical usability. The study demonstrates that ensemble learning methods significantly improve the fault prediction process, making them suitable for deployment in real-world software quality assurance workflows. These findings contribute to the ongoing advancement of predictive software engineering and open new avenues for integrating intelligent fault detection systems in continuous integration and DevOps environments.

International Journal of Scientific Research in Computer Science Engineering and Information TechnologyVol. 11(3)
Kalinga University (IN)
Openalex Percentile: Top 6%
Software Reliability and Analysis Research
4.62
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.