STALL+: Boosting LLM-based Repository-level Code Completion with Static Analysis
Not on the map. Why?
Abstract (arXiv)
Repository-level code completion is challenging as it involves complicated contexts from multiple files in the repository. To date, researchers have proposed two technical categories to enhance LLM-based repository-level code completion, i.e., retrieval-augmented generation (RAG) and static analysis integration. This work performs the first study on the static analysis integration in LLM-based repository-level code completion by investigating both the effectiveness and efficiency of static analysis integration strategies across different phases of code completion. We first implement a framework STALL+, which supports an extendable and customizable integration of multiple static analysis strategies into the complete pipeline of LLM-based repository-level code completion; and based on STALL+, we perform extensive experiments by including different code LLMs on the latest repository-level code completion benchmark CrossCodeEval. Our findings show that integrating file-level dependencies in prompting phase performs the best while the integration in post-processing phase performs the worse. Additionally, we observe different improvements from static analysis between dynamic languages and static languages, i.e., the best combination is prompting-phase with decoding-phase integration for Java while the best combination is prompting-phase with post-processing-phase integration for Python given the limitations of statically analyzing dynamic languages. Additionally, we find the complementarity between RAG and static analysis integration as well as their cost-effectiveness after combination.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jun 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 5; 2025: 12; 2026: 4.
21 papers.
Sort:
By area:
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2024An LLM Agent for Automatic Geospatial Data Analysiscited by 21
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
- 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Modelscited by 15
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworkscited by 14
- 2025Towards an Understanding of Context Utilization in Code Intelligencecited by 10
- 2024Statically Contextualizing Large Language Models with Typed Holescited by 9
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completioncited by 7
- 2025Combining Large Language Models with Static Analyzers for Code Review Generationcited by 6
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChatcited by 5
9 more
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translationcited by 5
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generationcited by 4
- 2025AppForge: From Assistant to Independent Developer -- Are GPTs Ready for Software Development?cited by 4
- 2025CodeSSM: Towards State Space Models for Code Understandingcited by 3
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generationcited by 3
- 2025Timing Analysis Agent: Autonomous Multi-Corner Multi-Mode (MCMM) Timing Debugging with Timing Debug Relation Graphcited by 2
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Frameworkcited by 1
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoringcited by 1
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completioncited by 0
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoring25 Jun 2026
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion27 Jan 2026
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generation14 Jan 2026
- 2026In Line with Context: Repository-Level Code Generation via Context Inlining1 Jan 2026
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworks1 Dec 2025
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Framework4 Nov 2025
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2025AppForge: From Assistant to Independent Developer -- Are GPTs Ready for Software Development?9 Oct 2025
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approaches6 Oct 2025
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generation11 Aug 2025
- 2025A Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChat24 Jul 2025
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completion19 May 2025
9 more
- 2025CodeSSM: Towards State Space Models for Code Understanding2 May 2025
- 2025Timing Analysis Agent: Autonomous Multi-Corner Multi-Mode (MCMM) Timing Debugging with Timing Debug Relation Graph15 Apr 2025
- 2025Towards an Understanding of Context Utilization in Code Intelligence11 Apr 2025
- 2025Combining Large Language Models with Static Analyzers for Code Review Generation10 Feb 2025
- 2024An LLM Agent for Automatic Geospatial Data Analysis24 Oct 2024
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Models24 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024Statically Contextualizing Large Language Models with Typed Holes2 Sep 2024
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Models29 Jun 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024An LLM Agent for Automatic Geospatial Data Analysiscited by 21
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworkscited by 14
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Frameworkcited by 1
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoringcited by 1
- 2026How Much Static Structure Do Code Agents Need? A Study of Deterministic Anchoring25 Jun 2026
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworks1 Dec 2025
- 2025Towards Iterative End-to-End Software Development: A Feature-Driven Multi-Agent Framework4 Nov 2025
- 2024An LLM Agent for Automatic Geospatial Data Analysis24 Oct 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2026In Line with Context: Repository-Level Code Generation via Context Inliningcited by 18
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Modelscited by 15
- 2025Towards an Understanding of Context Utilization in Code Intelligencecited by 10
- 2024Statically Contextualizing Large Language Models with Typed Holescited by 9
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completioncited by 7
- 2025Combining Large Language Models with Static Analyzers for Code Review Generationcited by 6
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generationcited by 4
- 2025AppForge: From Assistant to Independent Developer -- Are GPTs Ready for Software Development?cited by 4
- 2025CodeSSM: Towards State Space Models for Code Understandingcited by 3
- 2025Timing Analysis Agent: Autonomous Multi-Corner Multi-Mode (MCMM) Timing Debugging with Timing Debug Relation Graphcited by 2
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completioncited by 0
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion27 Jan 2026
- 2026In Line with Context: Repository-Level Code Generation via Context Inlining1 Jan 2026
- 2025AppForge: From Assistant to Independent Developer -- Are GPTs Ready for Software Development?9 Oct 2025
- 2025Exploring the Challenges and Opportunities of AI-assisted Codebase Generation11 Aug 2025
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completion19 May 2025
- 2025CodeSSM: Towards State Space Models for Code Understanding2 May 2025
- 2025Timing Analysis Agent: Autonomous Multi-Corner Multi-Mode (MCMM) Timing Debugging with Timing Debug Relation Graph15 Apr 2025
- 2025Towards an Understanding of Context Utilization in Code Intelligence11 Apr 2025
- 2025Combining Large Language Models with Static Analyzers for Code Review Generation10 Feb 2025
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Models24 Sep 2024
- 2024Statically Contextualizing Large Language Models with Typed Holes2 Sep 2024
- 2024Beyond Functional Correctness: Investigating Coding Style Inconsistencies in Large Language Models29 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2025CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion
- 2024Repoformer: Selective Retrieval for Repository-Level Code Completion
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
- 2024RAMBO: Enhancing RAG-based Repository-Level Method Body Completion
- 2024GraphCoder: Enhancing Repository-Level Code Completion via Code Context Graph-based Retrieval and Language Model
- 2025Impact-driven Context Filtering For Cross-file Code Completion
- 2026Better Call Grep: Evaluating and Improving Grep-Like Lexical Retrieval for Repository-Level Code Completion
- 2026Do Not Treat Code as Natural Language: Implications for Repository-Level Code Generation and Beyond