Software Defect Prediction Using Machine Learning to Support Test Automation

Software testing is a critical phase of the software development lifecycle, yet identifying defect-prone modules remains challenging due to increasing system complexity. Traditional test automation focuses on executing test cases but lacks intelligence in prioritizing high-risk components. This paper investigates the application of machine learning techniques for software defect prediction using static code metrics. A Logistic Regression model was trained and evaluated on a publicly available software defect dataset. Experimental results demonstrate that addressing class imbalance significantly improves the detection of defective modules, particularly recall, which is crucial for effective testing. The findings highlight the potential of integrating AI-driven defect prediction into test automation to support risk-based testing and improve overall testing efficiency.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-01-28
DOI
https://doi.org/10.5281/zenodo.18405705
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
article

Software Defect Prediction Using Machine Learning to Support Test Automation

Dhruv Sharma
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

Software Defect Prediction Using Machine Learning to Support Test Automation

Dhruv Sharma
article en

Abstract

Software testing is a critical phase of the software development lifecycle, yet identifying defect-prone modules remains challenging due to increasing system complexity. Traditional test automation focuses on executing test cases but lacks intelligence in prioritizing high-risk components. This paper investigates the application of machine learning techniques for software defect prediction using static code metrics. A Logistic Regression model was trained and evaluated on a publicly available software defect dataset. Experimental results demonstrate that addressing class imbalance significantly improves the detection of defective modules, particularly recall, which is crucial for effective testing. The findings highlight the potential of integrating AI-driven defect prediction into test automation to support risk-based testing and improve overall testing efficiency.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 83%
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.