From Seed to Scope: Reasoning to Identify Change Impact Sets
Aashish Yadavally, Tien N. Nguyen
Abstract
Change impact analysis (IA), which identifies the set of co-changed program elements (i.e., impact set), is critical for several software engineering tasks. However, existing IA approaches struggle with a trade-off between precision (correctly detecting impacted elements) and recall (detecting all relevant ones). More importantly, they are limited in intent-aware settings, where co-changing elements are determined by a given change intent. In this work, we propose Ripple, an intent-aware IA approach that leverages large language models (LLMs) to capture change dependencies by linking intent to program elements and estimating their co-change relationships. To address the precision-recall tradeoff, we adopt a two-phase design:
(1) a seed-to-scope expansion strategy that expands the impact set using evolutionary and dependence coupling to improve recall, and (2) a plan-then-predict strategy where an LLM-generated change plan refines impact estimation for higher precision. We evaluate Ripple on real-world commits from Apache projects, achieving a 39.7%-380.8% improvement in F1-score over existing IA approaches. In addition, Ripple introduces flexibility, allowing users to prioritize higher precision or recall based on their preferences.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on20
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao et al.ICLR 2024 · 2,082 citations
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le et al.ICLR 2023 · 681 citations
- CodeT5+: Open Code Large Language Models for Code Understanding and GenerationYue Wang, Hung Le, Akhilesh Gotmare, Nghi D. Q. Bui et al.EMNLP 2023 · 339 citations
Related papers
- RippleGUItester: Change-Aware Exploratory TestingYanqi Su, Michael Pradel, Chunyang ChenISSTA 2026
- Enhancing Code Understanding for Impact Analysis by Combining Transformers and Program Dependence GraphsYanfu Yan, Nathan Cooper, Kevin Moran, Gabriele Bavota et al.FSE 2024 · 4 citations
- Automatically Fixing Dependency Breaking ChangesLukas Fruntke, Jens KrinkeFSE 2025
- Multi-Location Software Model CompletionAlisa Welter, Christof Tinnes, Sven ApelICSE 2026 · 1 citation
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented GenerationDominik Fuchß, Tobias Hey, Jan Keim, Haoyu Liu et al.ICSE 2025 · 8 citations
