A Systematic Survey on Large Language Models for Static Code Analysis

被引:0
作者
Salih, Hekar A. Mohammed [1 ]
Sarhan, Qusay I. [1 ]
机构
[1] Univ Duhok, Coll Sci, Dept Comp Sci, Zakho St 38 AJ, Duhok, Kurdistan Regio, Iraq
来源
ARO-THE SCIENTIFIC JOURNAL OF KOYA UNIVERSITY | 2025年 / 13卷 / 01期
关键词
Large language models; Software metrics; Software quality; Static code analysis;
D O I
10.14500/aro.12082
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
code analysis plays a pivotal role in improving software quality, security, and maintainability by detecting vulnerabilities, errors, and programming issues in source code without executing it. Recent advancements in artificial intelligence, 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 emerging field of research from many perspectives. This systematic survey focuses on the use of LLMs for static code analysis, detailing their applications, advantages, contexts, limitations, etc. The study examines research papers published on the topic from reputable literature databases to answer several research questions regarding the state-of-the-art use of LLMs in static code analysis. In addition, different research gaps and challenges were identified and discussed alongside many directions. The results of this study demonstrate how LLMs can enhance static code analysis and address existing limitations, paving the way for developers and researchers to employ LLMs for a more affordable and effective software development process.
引用
收藏
页码:251 / 265
页数:15
相关论文
共 56 条
[1]  
Acl A., 2024, An Empirical Study of LLM for Code Analysis: Understanding Syntax and Semantics
[2]  
Akuthota Vishwanath, 2023, 2023 IEEE 9th International Women in Engineering (WIE) Conference on Electrical and Computer Engineering (WIECON-ECE), P309, DOI 10.1109/WIECON-ECE60392.2023.10456393
[3]   Cultivating Software Quality Improvement in the Classroom: An Experience with ChatGPT [J].
AlOmar, Eman Abdullah ;
Mkaouer, Mohamed Wiem .
2024 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING, CSEE & T 2024, 2024,
[4]  
Amburle Ankita, 2024, 2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC), P274, DOI 10.1109/ICAAIC60222.2024.10574931
[5]  
[Anonymous], Transactions on Software Engineering, V50, P911
[6]  
Ardito Luca, 2023, 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS), P497, DOI 10.1109/QRS60937.2023.00055
[7]  
Bairi Ramakrishna, 2024, Proceedings of the ACM on Software Engineering, V1, DOI 10.1145/3643757
[8]   Lessons from applying the systematic literature review process within the software engineering domain [J].
Brereton, Pearl ;
Kitchenham, Barbara A. ;
Budgen, David ;
Turner, Mark ;
Khalil, Mohamed .
JOURNAL OF SYSTEMS AND SOFTWARE, 2007, 80 (04) :571-583
[9]   Public Accounting in China: The Role of Occupational Community within a Globalized Profession [J].
Campbell, Shelagh ;
Li, Yingqi ;
Zhang, Zhou ;
Sinclair, Paul .
ACCOUNTING PERSPECTIVES, 2024, 23 (02) :205-233
[10]  
Chen Y., 2024, Security of Language Models for Code: A Systematic Literature Review, V1