Automated Bug Detection and Auto Fix Generation by using Ml Model
DOI:
https://doi.org/10.15662/IJRAI.2026.0903008Keywords:
Machine Learning. Automated Bug Detection, Auto Fix Generation Software Debugging, Large Language Model (LLM), Intelligent System, Code Analysis, Error Detection, Software Development, Pattern Recognition, Real-time Feedback, Code Correction Developer Productivity, Scalable System, Al-based Debugging. Bug Classification, Self-learning SystemAbstract
This project is a developing an Intelligent Machine Learning based system for automated bug detection and auto fix generation in software applications. Debugging is one of the most time-consuming and challenging tasks in software development, especially for beginners. In this system, the user provides source code or error messages as input. The system analyzes the code using Machine Leaming and Natural Language Processing (NLP) techniques trained on large datasets of buggy and corrected code. Based on learned patterns, the model identifies the type of bug and generates appropriate fix suggestions. The system works similar to a chatbot, providing interactive and user-friendly debugging assistance. This intelligent approach reduces human effort. improves coding efficiency, and helps developers learn better programming practices. The proposed system is cost-effective, scalable, and suitable for real-time software development environments. It provides real-time feedback, enabling immediate correction of mistakes during development. The machine learning model continuously updates its knowledge base as new types of bugs are encountered.
The proposed system accepts source code or error messages as input from the user. It processes this input using advanced ML models trained on large datasets containing buggy code samples and their corresponding corrected versions. By learning patterns, structures, and common error types from historical data, the model is capable of identifying syntax errors, logical bugs, runtime exceptions, and semantic inconsistencies in the code. The integration of NLP techniques enables the system to interpret error messages and understand programming context, making it more adaptable across different programming languages and development environments.
References
1. C. D. R. C. Tej, “Automated Software Bug Detection Using Machine Learning,”International Journal of Novel Research and Development (IJNRD”), ISSN: 2456-4184 vol. 10, pg no. 3, 2025.
2. B. Imran, S. Riadi, and E. Suryadi, “A Machine Learning Model for Automatic Bug Detection in Python Based on Syntactic Analysis,” Jurnal Informatika, ISSN: 1978-0524 vol. 11, pg no. 2,2025.
3. J. Sun and F. Li, “Empirical Evaluation of Large Language Models in Automated Program Repair,” Journal of Software Engineering Research, vol. 10, pg no. 3,2025.
4. I. Bouzenia and P. Devanbu, “An Autonomous LLM-Based Agent for Program Repair,” arXiv preprint ,ISSN: 0740-7459,vol10, , pg no. 3 2024.
5. Saeed, “Automated Bug Detection with Machine Learning in Software QA,” IJNRD, ISSN: 2169-3536,vol. 5, pgno. 2, Nov. 2025.
6. H. Zhang, Y. Li, and X. Chen, “Deep Learning-Based Automated Bug Detection in Software Systems,” in Proc. IEEE Int. Conf. on Software Engineering (ICSE), ISSN: 0098-5589 ,vol. 5, pg no.7, 2024,
7. R. Kumar and P. Singh, “AI-Based Bug Prediction and Fix Recommendation System,” in Proc. IEEE Int. Conf. on Advances in Computing, 2025, pp, ISSN: 2320-088X 45–52.
8. L. Wang, T. Liu, and Z. Zhao, “Transformer-Based Code Analysis for Automated Bug Detection,” IEEE Access, ISSN: 1792-8036,vol. 12, pgno.6, 2024.
9. S. Gupta and A. Verma, “Machine Learning Techniques for Early Bug Detection in Software Development,” in Proc. IEEE Int. Conf. on Smart Computing,vol.5,pg no.2 2024,
10. Y. Chen and M. Zhang, “Automated Program Repair Using Large Language Models,” IEEE Software, vol. 42, pg no. 1, 2025.
11. D. Roy and K. Das, “Intelligent Code Analysis and Bug Fixing Using NLP Models,” in Proc. IEEE Int. Conf. on Artificial Intelligence,vol.2, pg no.4, 2024,
12. P. Sharma and R. Mehta, “A Survey on AI-Based Bug Detection and Repair Techniques,” IEEE Access, vol. 13, pg no.2 2025.
13. M. Ali, S. Khan, and N. Ahmad, “Context-Aware Automated Bug Fix Generation Using Deep Learning,” in Proc. IEEE Int. Conf. on Data Science, vol. 11, pg no. 2,2025.
14. J. Lee and H. Park, “Neural Code Models for Software Defect Prediction and Repair,” IEEE Transactions on Software Engineering, early access, vol. 10, pg no. 4,2025. 2025.
15. K. Patel and V. Rao, “LLM-Based Intelligent Debugging System for Modern Software Applications,” in Proc. IEEE Int. Conf. on Computing and Informatics, vol.3,pg no.6 2025,
16. Emeto et al., “A Web-Based Automated Bug Detection and Fix Suggestion System,” Int. J. Computer Science and Mobile Computing, vol. 14, no. 3, pg no.5,2025
17. S. Talebi et al., “Machine Learning-Driven Software Testing: Towards Autonomous Bug Detection,” IARJMD, vol. 5, no. 2, pg no.1,2024
18. D. Chhabra, “Automatic Bug Triaging Using Machine Learning-Based LLM Approach,” Engineering, Technology & Applied Science Research, vol. 14, pg no.8,2024.
19. Phang and Y. Lee, “Automated Code Review and Bug Detection Using Machine Learning,” in Proc. vol. 12, pgno.6, 2024.
20. “Automated Bug Detection and Correction in Software Development Using Machine Learning,” Int. J. Advanced Computer Theory and Engineering, vol. 5, pgno.6, 2025.
21. N. S. Harzevili et al., “Checker Bug Detection and Repair in Deep Learning Libraries,” arXiv, vol. 12, pgno.5, 2024.
22. Y. Chen et al., “A Study of Bug-Fix Patterns in Autonomous Systems,” arXiv, vol. 5, pgno.6, 2025.
23. Z. Li et al., “Deep Learning for Software Bug Detection,” IEEE Trans. Software Engineering, vol. 3, pgno.3, 2025.
24. S. Kim et al., “Automatic Bug Detection Using Machine Learning,” in Proc. IEEE ICSE, vol. 12, pgno.6, 2024.
25. R. Manke et al., “Bug Localization in Deep Learning Programs,” arXiv, vol. 1, pgno.8, 2024.
26. Seedha Devi, V., Nivedha, S., Harisha, V., Mol, D. R., & Janaranjini, J. R. (2026). Enhanced prediction of PCOS and PCOD using deep learning for early diagnosis and clinical risk stratification. International Journal of Advanced Research in Computer Science & Technology (IJARCST), 9(3), 783–793.
27. Seedha Devi, V., Kumar, M. D., & Kumar, C. A. (2026). Flutter-based SOS alert and location tracking application with volunteer assist and rescue. International Journal of Research and Applied Innovations (IJRAI), 9(3), 521–530. https://doi.org/10.15662/IJRAI.2026.0903003
28. Seedha Devi, V., Selvi, D., Uma Maheshwari, K., & Yuvashree, G. (2026). Food linker: A smart system for global waste reduction. International Journal of Engineering & Extended Technologies Research (IJEETR), 8(3), 5012–5021. https://doi.org/10.15662/IJEETR.2026.0803002
29. Seedha Devi, V., Namitha, B., Divya Dharshini, J., & Livetha, K. (2026). A hybrid biometric and geo-fencing based smart attendance system. International Journal of Advanced Research in Computer Science and Technology (IJARCST), 9(3), 794–802. https://doi.org/10.15662/IJARCST.2026.0903002
30. Alangaram, S., Praveen, S., Rajesh, V., & Sanjai, A. (2026). Sales guard AI-driven decision intelligence platform for business optimization. International Journal of Engineering & Extended Technologies Research (IJEETR), 8(3), 5022–5031. https://doi.org/10.15662/IJEETR.2026.0803003
31. Seedha Devi, V., Harshini, R., Dhana Lakshmi, E., Gayathri, N., & Nithesha, P. (2026). Low-code mobile application builder with AI-assisted features using Flutter & Firebase. International Journal of Research Publications in Engineering, Technology and Management (IJRPETM), 9(3), 1001–1010.
32. Seedha Devi, V., Harshini, R., Dhana Lakshmi, E., Gayathri, N., & Nithesha, P. (2026). Low-code mobile application builder with AI-assisted features using Flutter & Firebase. International Journal of Research Publications in Engineering, Technology and Management (IJRPETM), 9(3), 1001–1010. https://doi.org/10.15662/IJRPETM.2026.0903001
33. Seedha Devi, V., Divya Narasimman, S., Jayaprakash, S., & Mohamed Suhel, H. N. (2026). Smart IoT-based pedestrian power generator using DC motor. International Journal of Computer Technology and Electronics Communication (IJCTEC), 9(3), 990–999. https://doi.org/10.15680/IJCTECE.2026.0903002
34. Seedha Devi, V., Mahalakshimi, P. V., & Anitha, A. (2026). Automated skin disease analysis and detection using AI-powered mobile application. International Journal of Research and Applied Innovations (IJRAI), 9(3), 531–539. https://doi.org/10.15662/IJRAI.2026.0903004
35. Alangaram, S., Udaykiran, M., Rajkumar, K., & Yogeeswaran, T. (2026). Enhancing customer churn prediction and retention for e-commerce. International Journal of Advanced Research in Computer Science & Technology (IJARCST), 9(3), 803–813. https://doi.org/10.15662/IJARCST.2026.0903003
36. Alangaram, S., Kiswar, M., Ajay, B., & Ezhilkumaran, P. (2026). Socialflow AI: Voice to social media scheduler. International Journal of Research and Applied Innovations (IJRAI), 9(3), 540–547. https://doi.org/10.15662/IJRAI.2026.0903005
37. Raghul, K., Rajasolan, P., Rohinth, S., & Tharun, P. (2026). AI knowledge sharing web portal. International Journal of Advanced Research in Computer Science & Technology (IJARCST), 9(3), 814–823. https://doi.org/10.15662/IJARCST.2026.0903004
38. Sangeetha, D., Dharan, K. D., Krishna, A. C., & Karthikeyan, C. (2026). Speech and text conversion system for sign language using ML. International Journal of Computer Technology and Electronics Communication (IJCTEC), 9(3), 1000–1007. https://doi.org/10.15680/IJCTECE.2026.0903003
39. Seedha Devi, V., Kaavya, S., Deepika, B., Jayashree, D., & Nithikaa, L. (2026). AI-driven voter authentication and fraud detection system. International Journal of Computer Technology and Electronics Communication (IJCTEC), 9(3), 1008–1017. https://doi.org/10.15680/IJCTECE.2026.0903004
40. Alangaram, S., Yuvaraj, G., Srivatsan, M. J., & Sathish, R. (2026). An IoT-based smart helmet for real-time rider safety monitoring and emergency response system. International Journal of Research in Production Engineering, Technology and Management (IJRPETM), 9(3), 1021–1030. https://doi.org/10.15662/IJRPETM.2026.0903003
41. Raghul, K., Thamaraikannan, R., Sunil Kumar, S., & Siva, B. (2026). Plastitrack: A community-driven plastic waste collection and redemption platform. International Journal of Research and Applied Innovations (IJRAI), 9(3), 548–557. https://doi.org/10.15662/IJRAI.2026.0903006
42. Dr. V. Seedha Devi, M. Parvinraj, J. Dinesh, M. Venkatramana, & P. Suryaprakash Raj. (2026). Darkshield: Mobile intrusion detection using post-authentication failure analysis and Android security APIs. International Journal of Advanced Research in Computer Science & Technology (IJARCST), 9(3), 824–833. https://doi.org/10.15662/IJARCST.2026.0903005
43. S. Alangaram, K. Mugunthan, R. Elango, & J. J. Harish. (2026). AI powered secure payment with eye recognition in wallet platform. International Journal of Computer Technology and Electronics Communication (IJCTEC), 9(3), 1018–1025. https://doi.org/10.15680/IJCTECE.2026.0903005
44. Dr. V. Seedha Devi, Priyadharshini R., Vaishnavi P. S., & Shalini M. (2026). Cybersecurity enhancement in electric vehicle systems using principal component analysis (PCA). International Journal of Research and Applied Innovations (IJRAI), 9(3), 558–568. https://doi.org/10.15662/IJRAI.2026.0903007
45. Dr. V. Seedha Devi, D. Yogeshwari, B. Reshma, & B. Sowmiya. (2026). Ayursutra Panchakarma patient management and therapy scheduling software – AI powered chatbot assistance. International Journal of Engineering & Extended Technologies Research (IJEETR), 8(3), 5032–5041. https://doi.org/10.15662/IJEETR.2026.0803004





