Article’s

AI-Based Software Bug Prediction

KARTIK MANWANI, MANWANTH SHETTY, MIHIR SINGH, SNEHAL RAJ

(12 – 2026)

DOI: 10.5281/zenodo.24740322

 

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 Al-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. Key Words: Software Bug Prediction, Software Defect Prediction, Machine Learning, Just-in-Time Prediction, Pre-trained Code Models, Explainability.

 

 

Scroll to Top