An Empirical Evaluation of Machine Learning Techniques for Software Defect Prediction

Reliability, maintainability, development costs, and user pleasure can all be negatively impacted by software flaws. Developers can prioritize testing and quality-assurance tasks by identifying software modules that are prone to defects early on. By identifying connections between software measurements and past defect data, machine learning offers a data-driven method for predicting software defects. An empirical methodology for assessing machine learning methods for binary software fault prediction is presented in this paper. Dataset selection, data preprocessing, feature selection, stratified train-test separation, machine learning model building, hyperparameter tweaking, performance evaluation, statistical comparison, and defect prediction are all part of the methodical workflow used in this study. The benchmark dataset is the NASA/PROMISE JM1 dataset. Five classification methods are examined: K-Nearest Neighbors, Random Forest, Decision Tree, Gaussian Na?ve Bayes, and Logistic Regression. The methodology uses training-set-only class balancing and stratified sampling because software-defect datasets are frequently unbalanced. Evaluation criteria include accuracy, precision, recall, F1-score, and ROC-AUC; recall and F1-score are given special consideration because accuracy by itself may be deceptive when there is a class imbalance. The diversity among classifiers is demonstrated by a publicly available JM1 implementation, which reports test-set accuracy varying from roughly 74.28% to 80.98% and ROC-AUC values from 0.573 to 0.718 among these five models. Rather than being the findings of an independently conducted experiment, these data are regarded here as benchmark/reference results. Python and scikit-learn can be used to create the reproducible experimental framework presented in this research.

Authors

Institutions

Publication Details

Journal
International Journal of Science and Research (IJSR)
Published
2026-11-30
DOI
https://doi.org/10.21275/sr261128170828
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Empirical Evaluation of Machine Learning Techniques for Software Defect Prediction

Ashish Jolly
International Journal of Science and Research (IJSR)
Software Engineering Research
article

An Empirical Evaluation of Machine Learning Techniques for Software Defect Prediction

Ashish Jolly
article en

Abstract

Reliability, maintainability, development costs, and user pleasure can all be negatively impacted by software flaws. Developers can prioritize testing and quality-assurance tasks by identifying software modules that are prone to defects early on. By identifying connections between software measurements and past defect data, machine learning offers a data-driven method for predicting software defects. An empirical methodology for assessing machine learning methods for binary software fault prediction is presented in this paper. Dataset selection, data preprocessing, feature selection, stratified train-test separation, machine learning model building, hyperparameter tweaking, performance evaluation, statistical comparison, and defect prediction are all part of the methodical workflow used in this study. The benchmark dataset is the NASA/PROMISE JM1 dataset. Five classification methods are examined: K-Nearest Neighbors, Random Forest, Decision Tree, Gaussian Na?ve Bayes, and Logistic Regression. The methodology uses training-set-only class balancing and stratified sampling because software-defect datasets are frequently unbalanced. Evaluation criteria include accuracy, precision, recall, F1-score, and ROC-AUC; recall and F1-score are given special consideration because accuracy by itself may be deceptive when there is a class imbalance. The diversity among classifiers is demonstrated by a publicly available JM1 implementation, which reports test-set accuracy varying from roughly 74.28% to 80.98% and ROC-AUC values from 0.573 to 0.718 among these five models. Rather than being the findings of an independently conducted experiment, these data are regarded here as benchmark/reference results. Python and scikit-learn can be used to create the reproducible experimental framework presented in this research.

International Journal of Science and Research (IJSR)
Swami Devi Dyal Hospital and Dental College (IN)
Software Engineering Research
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.

Laika access coming soon
An Empirical Evaluation of Machine Learning Techniques for Software Defect Prediction — Ashish Jolly · International Journal of Science and Research (IJSR) (2026) | TGRS Research Map | TGRS