LLM-ASSISTED AUTOMATED CODE REVIEW AND BUG PREDICTION FOR SOFTWARE QUALITY ENHANCEMENT
International Journal of Computer Science (IJCS) Published by SK Research Group of Companies (SKRGC)
Download this PDF format
Abstract
With the rapid growth of software systems, ensuring code quality and early bug detection has become increasingly challenging and time-consuming. Traditional code review processes rely heavily on manual inspection and rule-based static analysis tools, which often fail to scale and may miss complex or context-dependent defects. This paper proposes an LLM-Assisted Automated Code Review and Bug Prediction System that leverages large language models (LLMs) to analyse source code, identify potential bugs, security vulnerabilities, and code quality issues. The system combines natural language understanding with program analysis to learn coding patterns, detect anomalies, and predict defect-prone code segments at an early stage of development. Experimental evaluation demonstrates that LLM-assisted analysis enhances detection accuracy and supports developers with explainable, actionable recommendations, making it a promising solution for modern software engineering workflows.
References
- M. Allamanis, E. T. Barr, C. Bird, and C. Sutton, "A survey of machine learning for big code and naturalness," ACM Computing Surveys, vol. 51, no. 4, pp. 1-37, Aug. 2018.
- T. Chen and C. Guestrin, "XGBoost: A scalable tree boosting system," in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, San Francisco, CA, USA, 2016, pp. 785-794.
- Z. Li, Y. Zhou, S. Wang, and Y. Wang, "Deep learning-based software defect prediction," IEEE Transactions on Software Engineering, vol. 45, no. 4, pp. 1-16, Apr. 2019.
- M. Tufano, C. Watson, G. Bavota, and M. Di Penta, "An empirical study on learning bug-fixing patterns from code changes," IEEE Transactions on Software Engineering, vol. 45, no. 6, pp. 1-20, June 2019.
- S. Panichella, A. Zaidman, M. Di Penta, and R. Oliveto, "How developers' collaboration affects bug fixing," IEEE Transactions on Software Engineering, vol. 44, no. 2, pp. 1-18, Feb. 2018.
- J. Nam and S. Kim, "Heterogeneous defect prediction," in Proc. 10th Joint Meeting on Foundations of Software Engineering, Bergamo, Italy, 2015, pp. 508-519.
- R. C. Geyer, T. Klein, and M. Nabi, "Differentially private federated learning: A client-level perspective," arXiv preprint, arXiv:1712.07557, 2017.
- J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, "BERT: Pre-training of deep bidirectional transformers for language understanding," in Proc. NAACL-HLT, Minneapolis, MN, USA, 2019, pp. 4171-4186.
- T. F. Bissyandé et al., "Revisiting the impact of documentation on software quality," Empirical Software Engineering, vol. 18, no. 1, pp. 1-36, Feb. 2013.
- C. Bird, T. Menzies, and T. Zimmermann, "The art and science of analyzing software data," IEEE Software, vol. 32, no. 4, pp. 52-59, July-Aug. 2015.
- Microsoft, "Introduction and Core Philosophy of Windows 11," Technical Overview, 2021.
- Python Software Foundation, "Python 3.0 Major Revision Features," Documentation, 2008.
- Google, "Google Colab Cloud-Based Programming Environment," Documentation, 2022.
- I. Vaswani et al., "Attention is all you need," in Proc. 31st Int. Conf. Neural Information Processing Systems (NeurIPS), 2017.
- J. Kindervag, "Zero Trust Security Model Principles," Forrester Research, 2010.
Keywords
Large Language Models (LLMs), Automated Code Review, Bug Prediction, Software Quality Assurance, Deep Learning, Static Analysis.