AI-Based Software Bug Prediction

Software bugs affect the reliability, performance and quality of software, and finding them late is costly. Software bug prediction uses historical project data to identify the files, classes or code changes most likely to be defective, so that testing and review effort can be directed to them first. This paper surveys AI-based bug-prediction techniques, from metric-based statistical models and classical machine learning to deep learning, pre-trained code models and just-in-time prediction. We organise the literature by technique, review the families of metrics, the commonly used datasets and the evaluation practices, and compare the approaches on their strengths, limitations and readiness for cross-project use. The survey shows that class imbalance, noisy labels, weak cross-project transfer, concept drift, limited explainability and inconsistent evaluation remain open problems. We also outline a conceptual framework, Explainable Change-Aware Bug Prediction (ECABP), which combines pre-trained code representations with process and change metrics to produce explainable risk scores. The framework is a proposal that has not yet been implemented or evaluated, and the paper reports no new experiments.

Authors

Publication Details

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

AI-Based Software Bug Prediction

Snehal Raj, Karik Manwani1, Mihir Singh3, Manwanth Shetty2
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

AI-Based Software Bug Prediction

Snehal Raj, Karik Manwani1, Mihir Singh3, Manwanth Shetty2
article en

Abstract

Software bugs affect the reliability, performance and quality of software, and finding them late is costly. Software bug prediction uses historical project data to identify the files, classes or code changes most likely to be defective, so that testing and review effort can be directed to them first. This paper surveys AI-based bug-prediction techniques, from metric-based statistical models and classical machine learning to deep learning, pre-trained code models and just-in-time prediction. We organise the literature by technique, review the families of metrics, the commonly used datasets and the evaluation practices, and compare the approaches on their strengths, limitations and readiness for cross-project use. The survey shows that class imbalance, noisy labels, weak cross-project transfer, concept drift, limited explainability and inconsistent evaluation remain open problems. We also outline a conceptual framework, Explainable Change-Aware Bug Prediction (ECABP), which combines pre-trained code representations with process and change metrics to produce explainable risk scores. The framework is a proposal that has not yet been implemented or evaluated, and the paper reports no new experiments.

Zenodo (CERN European Organization for Nuclear Research)
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