From Seed to Scope: Reasoning to Identify Change Impact Sets
Open Access
- 12 April 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 400-412
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.Keywords
Funding Information
- NSF (CNS-2120386)
This publication has 47 references indexed in Scilit:
- A fine-grained data set and analysis of tangling in bug fixing commitsEmpirical Software Engineering, 2022
- A Survey on Association Rule Mining2015
- A survey of code‐based change impact analysis techniquesSoftware Testing, Verification and Reliability, 2012
- Feature location in source code: a taxonomy and surveyJournal of Software: Evolution and Process, 2011
- A topic-based approach for narrowing the search space of buggy files from a bug report2011
- Predicting faults using the complexity of code changes2009
- Using information retrieval based coupling measures for impact analysisEmpirical Software Engineering, 2008
- On the Precision and Accuracy of Impact Analysis Techniques2008
- Predicting Faults from Cached History29th International Conference on Software Engineering (ICSE'07), 2007
- Estimation and prediction metrics for adaptive maintenance effort of object-oriented systemsIEEE Transactions on Software Engineering, 2001