Author
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.
Suggested Citation
Durga & Anupa Sinha, 2025.
"Enhancing Software Reliability through Intelligent Fault Prediction Using Machine Learning,"
International Journal of Scientific Research in Computer Science, Engineering and Information Technology, International Journal of Scientific Research in Computer Science, Engineering and Information Technology, vol. 11(3), pages 945-956, June.
Handle:
RePEc:jbh:ijsrcs:v11:y2025:i3:id:1553
DOI: 10.32628/CSEIT25113376
Note: Article URL: https://ijsrcseit.com/home/article/view/CSEIT25113376
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jbh:ijsrcs:v11:y2025:i3:id:1553. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Pankaj Sharma (USA) (email available below). General contact details of provider: https://ijsrcseit.com/home .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.