Hybrid Source Code Change Impact Analysis
Not on the map. Why?
Abstract (arXiv)
Change impact analysis (CIA) helps developers identify code entities impacted by their initial changes. While several approaches for CIA were proposed, they still struggle with either low precision or low recall, thereby increasing manual effort for developers to verify the results. Furthermore, limitations in the used datasets and experimental setups can bias the results reported by many CIA approaches. In this paper, we first address the dataset limitations by manually labeling 1,931 changed code entities stemming from 263 commits of 22 open-source Java projects. Next, we introduce two variants of katIA, our code change impact analysis approach that combines static impact analysis with the reasoning capabilities of large language models (LLMs). The first variant uses a single prompt (katIA-SP) for refining an initial static impact set while the second variant uses three specialized agents (katIA-MA). The evaluation with our curated dataset shows that katIA-SP with Gemini 2.5 Flash achieved an F1-score of 22.4% when matching impacted entities by their fully qualified names (FQN) and 27.0% when matching them by their class and entity names (CE). The latter shows an improvement of 2.0 percentage points over the state-of-the-art. This score is further improved by katIA-MA which, using Gemini 2.5 Flash, yields an FQN-matching F1-score of 29.1% and a CE-matching F1-score of 33.3%. While these improvements come at the cost of increased median generation time from 0.570 s to 11.214 s and median token usage from 1,235 to 6,462 tokens, the improved performance justifies the additional cost. The comparison of three LLMs using katIA-SP finds that Gemini 2.5 Flash is the most consistent model. These results indicate that combining static impact analysis with LLM-based refinement, particularly with the multi-agent variant, can improve code change impact analysis.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 14 of its 33 references that are in the map. Submitted 7 Nov 2026.
Builds on
14 of 33 references.
References · 14
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2023In-Context Impersonation Reveals Large Language Models' Strengths and Biasescited by 163
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 161
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 132
- 2023Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilitiescited by 65
- 2025Guidelines for Empirical Studies in Software Engineering involving Large Language Modelscited by 31
- 2024What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Usecited by 26
- 2024Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?cited by 22
- 2024Exploring the Capabilities of LLMs for Code Change Related Taskscited by 20
- 2015Untangling Fine-Grained Code Changescited by 12
- 2020A Fine-grained Data Set and Analysis of Tangling in Bug Fixing Commitscited by 12
- 2024A Roadmap on Modern Code Review: Challenges and Opportunitiescited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025LLM-Based Detection of Tangled Code Changes for Higher-Quality Method-Level Bug Datasets
- 2025Evaluating the Effectiveness of Small Language Models in Detecting Refactoring Bugs
- 2026Measuring and Mitigating Bias in Code Generated by Large Language Models
- 2025Augmenting Large Language Models with Static Code Analysis for Automated Code Quality Improvements
- 2025AgentPack: A Dataset of Code Changes, Co-Authored by Agents and Humans
- 2025CodeFuse-CommitEval: Towards Benchmarking LLM's Power on Commit Message and Code Change Inconsistency Detection
- 2025Large Language Model Critics for Execution-Free Evaluation of Code Changes
- 2025Cracks in The Stack: Hidden Vulnerabilities and Licensing Risks in LLM Pre-Training Datasets