A Systematic Survey on Large Language Models for Static Code Analysis
Open Access
- 1 February 2025
- journal article
- Published by Koya University in ARO-THE SCIENTIFIC JOURNAL OF KOYA UNIVERSITY
- Vol. 13 (1) , 251-265
Abstract
Static code analysis aids in improving software quality, security, and maintainability by detecting vulnerabilities, errors, and programming issues in source code without executing it. The latest advancements in Artificial Intelligence (AI), especially the development of Large Language Models (LLMs) such as ChatGPT, have enabled transformational opportunities in this domain. Thus, it is essential to explore this hot field of research alongside many directions. This systematic survey focuses on the use of LLMs for static code analysis, detailing their applications, advantages, contexts, limitations, etc. In this study, the research papers that have been published on the topic from well-known literature databases were examined to answer several research questions regarding state-of-the-art use of LLMs for static code analysis. Also, different research gaps and challenges were identified and discussed alongside many directions. The results of this study demonstrate how LLMs can be useful for static code analysis and overcome different constraints. Thus, it opens the doors for developers and researchers to employ LLMs for affordable and effective static code analysis to improve software development process.Keywords
This publication has 48 references indexed in Scilit:
- Towards an understanding of large language models in software engineering tasksEmpirical Software Engineering, 2024
- Evaluating Python Static Code Analysis Tools Using FAIR PrinciplesIEEE Access, 2024
- Does ChatGPT Help Novice Programmers Write Better Code? Results From Static Code AnalysisIEEE Access, 2024
- Cultivating Software Quality Improvement in the Classroom: An Experience with ChatGPT2024
- Methodology for Code Synthesis Evaluation of LLMs Presented by a Case Study of ChatGPT and CopilotIEEE Access, 2024
- Can ChatGPT Correct Code Based on Logical Steps?2023
- An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code2023
- VulDetect: A novel technique for detecting software vulnerabilities using Language Models2023
- Guidelines for conducting systematic mapping studies in software engineering: An updateInformation and Software Technology, 2015
- Lessons from applying the systematic literature review process within the software engineering domainJournal of Systems and Software, 2007