UGC Approved Journal no 63975(19)
New UGC Peer-Reviewed Rules

ISSN: 2349-5162 | ESTD Year : 2014
Volume 13 | Issue 11 | November 2026

JETIREXPLORE- Search Thousands of research papers



WhatsApp Contact
Click Here

Published in:

Volume 13 Issue 11
November-2026
eISSN: 2349-5162

UGC and ISSN approved 7.95 impact factor UGC Approved Journal no 63975

7.95 impact factor calculated by Google scholar

Unique Identifier

Published Paper ID:
JETIR2611124


Registration ID:
587596

Page Number

b209-b218

Share This Article


Jetir RMS

Title

Machine Learning-Based Prediction of Software Defects Using Software Metrics

Abstract

Software defect prediction ranks modules according to the fault risks faced by the module, to ensure limited time is spent in the maximum risk parts of the software. This paper conducts a comparison of the performance of nine machine learning classifiers (logistic regression, naive Bayes, k-NN, SVM, decision tree, random forest, histogram gradient boosting, XGBoost and a multilayer perceptron), which are trained with static code metrics for the prediction of defective modules. Experiments are conducted on 8 de-duplicated NASA MDP data sets, using each with 2 sets of 5-fold cross-validation (with and without SMOTE to train the folds only), and report accuracy, precision, recall, F1, AUC and MCC (1,440 model fits). Logistic regression, XGBoost and random forest have the highest mean AUC (0.790, 0.786 and 0.784) and are not significantly different under a Friedman-Nemenyi analysis, and are also not particularly high in terms of recall (not over 0.6 for the most part). After applying SMOTE to the data, each of the models improves recall by 0.311, F1 by 0.140, MCC by 0.084 and reduces precision by 0.058 and accuracy for each model, and afterwards, XGBoost achieves highest AUC at 0.793, highest MCC at 0.330 while lowering accuracy at 0.942. The sizes and Halstead measures are found to contain the majority of the signal using random-forest importance. According to the results, there is no single best classifier for every dataset, and certain evaluation metrics should be used with different resampling. Choice of an evaluation metric should be based on the relative cost of missed defects and false alarms, and resampling should be done accordingly.

Key Words

software defect prediction; software metrics; machine learning; class imbalance; SMOTE; NASA MDP; ensemble learning

Cite This Article

"Machine Learning-Based Prediction of Software Defects Using Software Metrics", International Journal of Emerging Technologies and Innovative Research (www.jetir.org), ISSN:2349-5162, Vol.13, Issue 11, page no.b209-b218, November-2026, Available :http://www.jetir.org/papers/JETIR2611124.pdf

ISSN


2349-5162 | Impact Factor 7.95 Calculate by Google Scholar

An International Scholarly Open Access Journal, Peer-Reviewed, Refereed Journal Impact Factor 7.95 Calculate by Google Scholar and Semantic Scholar | AI-Powered Research Tool, Multidisciplinary, Monthly, Multilanguage Journal Indexing in All Major Database & Metadata, Citation Generator

Cite This Article

"Machine Learning-Based Prediction of Software Defects Using Software Metrics", International Journal of Emerging Technologies and Innovative Research (www.jetir.org | UGC and issn Approved), ISSN:2349-5162, Vol.13, Issue 11, page no. ppb209-b218, November-2026, Available at : http://www.jetir.org/papers/JETIR2611124.pdf

Publication Details

Published Paper ID: JETIR2611124
Registration ID: 587596
Published In: Volume 13 | Issue 11 | Year November-2026
DOI (Digital Object Identifier):
Page No: b209-b218
Country: Visakhapatnam, Andhra Pradesh, India .
Area: Engineering
ISSN Number: 2349-5162
Publisher: IJ Publication


Preview This Article


Downlaod

Click here for Article Preview

Download PDF

Downloads

0005

Print This Page

Current Call For Paper

Jetir RMS