Cited by 81Software Engineering ResearchTopic ModelingSoftware Testing and Debugging Techniques

Large language models for code completion: A systematic literature review

Open access
Husein, Rasha Ahmad, Aburajouh, Hala, Catal, Cagatay·2025·Computer Standards & Interfaces

Abstract

Code completion serves as a fundamental aspect of modern software development, improving developers' coding processes. Integrating code completion tools into an Integrated Development Environment (IDE) or code editor enhances the coding process and boosts productivity by reducing errors and speeding up code writing while reducing cognitive load. This is achieved by predicting subsequent tokens, such as keywords, variable names, types, function names, operators, and more. Different techniques can achieve code completion, and recent research has focused on Deep Learning methods, particularly Large Language Models (LLMs) utilizing Transformer algorithms. While several research papers have focused on the use of LLMs for code completion, these studies are fragmented, and there is no systematic overview of the use of LLMs for code completion. Therefore, we aimed to perform a Systematic Literature Review (SLR) study to investigate how LLMs have been applied for code completion so far. We have formulated several research questions to address how LLMs have been integrated for code completion-related tasks and to assess the efficacy of these LLMs in the context of code completion. To achieve this, we retrieved 244 papers from scientific databases using auto-search and specific keywords, finally selecting 23 primary studies based on an SLR methodology for in-depth analysis. This SLR study categorizes the granularity levels of code completion achieved by utilizing LLMs in IDEs, explores the existing issues in current code completion systems, how LLMs address these challenges, and the pre-training and fine-tuning methods employed. Additionally, this study identifies open research problems and outlines future research directions. Our analysis reveals that LLMs significantly enhance code completion performance across several programming languages and contexts, and their capability to predict relevant code snippets based on context and partial input boosts developer productivity substantially.

Integrity signals

Registry

Crossref · 10.1016/j.csi.2024.103917

Cites

46 of 46 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Risks of LLM-based code synthesis identified in primary studies include generation of incorrect code, introduction of security vulnerabilities, unnecessarily complex code completions, and reduced code maintainability.

    “Risks include the generation of incorrect code, the introduc -tion of security vulnerabilities, unnecessarily complex code completions, and reduced code maintainability.”

Cites

Flagged first, then by citations

4 of the 50 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Husein, R. A., Aburajouh, H., & Catal, C.
Affiliations
Qatar University (QA)
Corresponding author
Catal, Cagatay
Venue
Computer Standards & Interfaces
Publisher
Elsevier BV
Published
2025-03
Volume
92
Pages
103917
ISSN
0920-5489 (ISSN-L)
OpenAlex
W4401671212
Cited by
72
References
50
Citations by year
2026: 34 · 2025: 38
FWCI
4.17
Type
journal article
Language
en
Open access
Locations
  • Computer Standards & Interfaces (publishedVersion, cc-by)
  • Figshare (submittedVersion, cc-by)
  • Qatar University QSpace (Qatar University) (submittedVersion, cc-by)
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
Keywords
code completion, large language models, integrated development environment, code editor, token prediction, developer productivity, transformer models, pre-training and fine-tuning, programming languages, open problems

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review