A Survey on Software Bug Prediction Practices: Tools and Techniques
DOI:
https://doi.org/10.21015/vtse.v14i2.2440Abstract
If using bug prediction tools can help increase software quality and reduce maintenance costs, there is a huge difference between the tools that are developed and the tools that are used in the real world. Despite the advances of machine learning and automated analysis, most development teams still do some things by hand because these tools are prone to false alarms, are difficult to integrate, and don't seem to fit within existing workflows. We set out to understand the challenges and the organizational delays that are holding teams back from applying the tools in practice and why bug prediction research is not permeating to the real world. The objective was to provide some practical guidance for researchers on what developers actually need. To get a glimpse into how P@SHA-certified software developers in Pakistan utilize bug prediction tools, challenges faced by them and what could be improved, we surveyed 95 software developers from P@SHA-certified companies in Pakistan. We considered the adoption rates, the effectiveness of the tools in use and the integration into the current processes. This study introduces a conceptual adoption framework as a result of the practitioner's feedback, focusing on the factors that are significant for the software teams in the decision making process if they adopt bug prediction tools. We discovered that 47.4% of teams continue to use manual code reviews, while only 28.4% are working with machine learning tools. While popular tools like Checkmarx (28.4%) and ESLint (27.4%) showed moderate effectiveness, but 46.3% of people had neutral opinions regarding tool performance. The most common suggestion enhancement was improved integration with IDEs and CI/CD systems—34.7% indicating this was their highest priority. In order to bridge the gap between academia and real-world software development, we need bug prediction tools within the development environment and are understandable by developers.
References
[1] Y. Tong and X. Zhang, “Crowdsourced test report prioritization considering bug severity,” Inf. Softw. Technol., vol. 139, p. 106668, 2021. DOI: https://doi.org/10.1016/j.infsof.2021.106668
[2] N. Qamar and A. A. Malik, “Evaluating the impact of pair testing on team productivity and test case quality–a controlled experiment,” Pakistan J. Eng. Appl. Sci., vol. 25, pp. 80–88, Jul. 2019.
[3] N. Qamar, N. Sabahat, and A. Mosavi, “Evaluating the impact of pair documentation on requirements quality in agile software development,” IEEE Access, vol. 13, pp. 45784–45794, 2025. DOI: https://doi.org/10.1109/ACCESS.2025.3550123
[4] M. Mustaqeem, M. Alam, S. Mustajab, F. Alshanketi, S. Alam, and M. Shuaib, “Comprehensive bibliographic survey and forward-looking recommendations for software defect prediction: datasets, validation methodologies, prediction approaches, and tools,” IEEE Access, vol. 13, pp. 866–903, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3517419
[5] T. Hoang, H. K. Dam, Y. Kamei, D. Lo, and N. Ubayashi, “DeepJIT: an end-to-end deep learning framework for just-in-time defect prediction,” in Proc. 2019 IEEE/ACM 16th Int. Conf. Mining Softw. Repositories (MSR), Montreal, QC, Canada, pp. 34–45, 2019. DOI: https://doi.org/10.1109/MSR.2019.00016
[6] S. Sahar, M. Younas, M. M. Khan, and M. U. Sarwar, “DP-CCL: a supervised contrastive learning approach using CodeBERT model in software defect prediction,” IEEE Access, vol. 12, pp. 22582–22594, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3362896
[7] T. Zhang, Y. Yu, X. Mao, Y. Lu, Z. Li, and H. Wang, “FENSE: a feature-based ensemble modeling approach to cross-project just-in-time defect prediction,” Empir. Softw. Eng., vol. 27, p. 162, 2022.
[8] X. Dong, Y. Liang, S. Miyamoto, and S. Yamaguchi, “Ensemble learning based software defect prediction,” J. Eng. Res., vol. 11, no. 4, pp. 377–391, 2023. DOI: https://doi.org/10.1016/j.jer.2023.10.038
[9] J. Shin, R. Aleithan, J. Nam, J. Wang, and S. Wang, “Explainable software defect prediction: Are we there yet?,” arXiv preprint arXiv:2111.10901, 2021.
[10] E. Winter, V. Nowack, D. Bowes, S. Counsell, T. Hall, S. Haraldsson, and J. Woodward, “Let’s talk with developers, not about developers: a review of automatic program repair research,” IEEE Trans. Softw. Eng., vol. 49, no. 1, pp. 419–436, 2022. DOI: https://doi.org/10.1109/TSE.2022.3152089
[11] S. Dalla Palma, D. Di Nucci, F. Palomba, and D. A. Tamburri, “Within-project defect prediction of infrastructure-as-code using product and process metrics,” IEEE Trans. Softw. Eng., vol. 48, no. 6, pp. 2086–2104, 2021. DOI: https://doi.org/10.1109/TSE.2021.3051492
[12] M. Nadim, M. Hassan, A. K. Mandal, and C. K. Roy, “Quantum vs. classical machine learning algorithms for software defect prediction: challenges and opportunities,” in Proc. 2025 IEEE/ACM Int. Workshop Quantum Softw. Eng. (Q-SE), Ottawa, ON, Canada, pp. 35–42, 2025. DOI: https://doi.org/10.1109/Q-SE66736.2025.00012
[13] A.-H. Dao and C.-Z. Yang, “Severity prediction for bug reports using multi-aspect features: a deep learning approach,” Mathematics, vol. 9, no. 14, p. 1644, 2021. DOI: https://doi.org/10.3390/math9141644
[14] M. Vardhan, K. Banerjee, and D. Aggarwal, “A systematic approach for the detection of software bug using CatBoost,” in Proc. 2022 Int. Conf. Mach. Learn., Big Data, Cloud Parallel Comput. (COM-IT-CON), Faridabad, India, vol. 1, pp. 414–419, 2022. DOI: https://doi.org/10.1109/COM-IT-CON54601.2022.9850519
[15] R. R. Panda and N. K. Nagwani, “Software bug priority prediction technique based on intuitionistic fuzzy representation and class imbalance learning,” Knowl. Inf. Syst., vol. 66, pp. 2135–2164, 2024. DOI: https://doi.org/10.1007/s10115-023-02000-7
[16] M. Shoaib, E. Fatima, N. Sabahat, and N. Qamar, “Exploring Agile testing methodologies: a perspective from the software industry,” Int. J. Innov. Sci. Technol., vol. 6, no. 2, pp. 980–995, 2024. DOI: https://doi.org/10.33411/ijist/202462980995
[17] J. Chen, W. Shang, and E. Shihab, “PerfJIT: test-level just-in-time prediction for performance regression introducing commits,” IEEE Trans. Softw. Eng., vol. 48, no. 5, pp. 1529–1544, 2020. DOI: https://doi.org/10.1109/TSE.2020.3023955
[18] Q. Chen, D. Li, M. Zhao, W. E. Wong, and H. Li, “Learning-based automated program repair: a systematic literature review,” Complex Syst. Model. Simul., pp. 1–19, 2025.
[19] M. Das, B. R. Mohan, and R. M. R. Guddeti, “HSoMLSDP: a hybrid swarm-optimized machine learning framework for software defect prediction,” IEEE Access, vol. 13, pp. 61161–61180, 2025. DOI: https://doi.org/10.1109/ACCESS.2025.3557532
[20] S. Cao, X. Sun, R. Widyasari, D. Lo, X. Wu, L. Bo, J. Zhang, B. Li, W. Liu, D. Wu, and Y. Chen, “A systematic literature review on explainability for machine/deep learning-based software engineering research,” arXiv preprint arXiv:2401.14617, 2024.
[21] K. Wang, T. Li, X. Zhang, C. Wang, W. Sun, Y. Liu, and B. Shi, “Software Development Life Cycle perspective: a survey of benchmarks for code large language models and agents,” arXiv preprint arXiv:2505.05283, 2025.
[22] I. Siachos, N. Kanakaris, and N. Karacapilidis, “Software bug prediction using graph neural networks and graph-based text representations,” Expert Syst. Appl., vol. 259, p. 125290, 2025. DOI: https://doi.org/10.1016/j.eswa.2024.125290
[23] A. M. Ismail, S. H. A. Hamid, A. A. Sani, and N. N. M. Daud, “Toward reduction in false positives just-in-time software defect prediction using deep reinforcement learning,” IEEE Access, vol. 12, pp. 47568–47580, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3382991
[24] K. Li, S. Chen, L. Fan, R. Feng, H. Liu, C. Liu, Y. Liu, and Y. Chen, “Comparison and evaluation on static application security testing (SAST) tools for Java,” in Proc. 31st ACM Joint Eur. Softw. Eng. Conf. Symp. Found. Softw. Eng. (ESEC/FSE), pp. 921–933, 2023. DOI: https://doi.org/10.1145/3611643.3616262
[25] X. Du, Z. Zhou, B. Yin, and G. Xiao, “Cross-project bug type prediction based on transfer learning,” Softw. Qual. J., vol. 28, pp. 39–57, 2020. DOI: https://doi.org/10.1007/s11219-019-09467-0
[26] Y. Zhang, Z. Qiu, K.-J. Stol, W. Zhu, J. Zhu, Y. Tian, and H. Liu, “Automatic commit message generation: a critical review and directions for future work,” IEEE Trans. Softw. Eng., vol. 50, no. 4, pp. 816–835, 2024. DOI: https://doi.org/10.1109/TSE.2024.3364675
[27] M. Yang, S. Yang, and W. E. Wong, “Multi-objective software defect prediction via multi-source uncertain information fusion and multi-task multi-view learning,” IEEE Trans. Softw. Eng., vol. 50, no. 8, pp. 2054–2076, 2024. DOI: https://doi.org/10.1109/TSE.2024.3421591
[28] Y. Yang, E. Ronchieri, and M. Canaparo, “Natural language processing application on commit messages: a case study on HEP software,” Appl. Sci., vol. 12, no. 21, p. 10773, 2022. DOI: https://doi.org/10.3390/app122110773
[29] T. Zhang, Y. Yu, X. Mao, Y. Lu, Z. Li, and H. Wang, “FENSE: a feature-based ensemble modeling approach to cross-project just-in-time defect prediction,” Empir. Softw. Eng., vol. 27, p. 162, 2022. DOI: https://doi.org/10.1007/s10664-022-10185-8
[30] S. Fang, T. Zhang, Y. Tan, H. Jiang, X. Xia, and X. Sun, “RepresentThemAll: a universal learning representation of bug reports,” in Proc. 2023 IEEE/ACM 45th Int. Conf. Softw. Eng. (ICSE), Melbourne, Australia, pp. 602–614, 2023. DOI: https://doi.org/10.1109/ICSE48619.2023.00060
[31] A. Mehmood, Q. M. Ilyas, M. Ahmad, and Z. Shi, “Test suite optimization using machine learning techniques: a comprehensive study,” IEEE Access, vol. 12, pp. 168645–168671, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3490453
[32] A. Aleti, B. Ray, R. Hoda, and S. Chen, “Trustworthy AI Software Engineers,” arXiv preprint arXiv:2602.06310, Feb. 2026.
[33] G. Gopalkrishnan, “Explainable Artificial Intelligence Frameworks for Interpretable Decision-Making in High-Stakes Systems,” Int. J. Adv. Comput. Eng. Commun. Technol., vol. 14, no. 2, pp. 2713–2728, 2025.
[34] J. Yu, P. Liang, Y. Fu, A. Tahir, M. Shahin, Y. Cai, and C. Wang, “An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factors,” arXiv preprint arXiv:2401.16310, 2024.
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY