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
- Snehal Raj (ORCID: https://orcid.org/0000-0002-4063-3190)
- Karik Manwani1
- Mihir Singh3
- Manwanth Shetty2
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