Caprese: Change Impact Recommendation Using History and Runtime Analysis
Sadjad Tavakoli, Saba Alimadadi
Key points
From the paper's conclusion- We present Caprese, an open-source framework for function-level change impact recommendation in Node.js.
Abstract
Change impact recommendation identifies program entities potentially affected by source code changes. Historical co-changes and runtime dependencies provide complementary evidence, particularly in JavaScript, where dynamic and asynchronous behaviour complicates dependency analysis. We present Caprese, an open-source framework for function-level change impact recommendation in Node.js. Given a change set, it produces a ranked impact set of potentially affected functions. It supports repository-based recommendation through confidence-guided mining of recurring, change-set-relevant co-change patterns of varying lengths; dynamic recommendation through execution-derived dependencies involving calls, callbacks, events, timers, and shared state; and hybrid recommendation integrating both analyses. Its modular implementation supports reusable analyses. Evaluation on ten open-source applications and 100 selected change sets shows that, on average across projects, 77.4% of the relevant functions among the top 60 hybrid recommendations are identified exclusively by one analysis, demonstrating substantial complementarity. Dynamic recommendation achieves the highest mean precision among the top five recommendations (0.65), while repository-based recommendation performs best when the ranking is extended to 60 recommendations (0.42). Hybrid recommendation outperforms TARMAQ on average but does not consistently outperform the individual modes. Caprese is publicly available with source code, documentation, and evaluation artifacts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- UserSWE: Evaluating Coding Agents in Multi-Turn Conversations with Dynamic UsersarXiv · 2026
- Hybrid Source Code Change Impact AnalysisarXiv · 2026
- Beyond Methods: An Empirical Study of File-Level Production-Test Co-evolution and Its Implications for AutomationACM Transactions on Software Engineering and Methodology · 2026
- Chronos Enables Code Agents to Reason over Software EvolutionarXiv · 2026
- SWE-Shift: Evaluating Coding Agents in Evolving WorkspacesarXiv · 2026
- Who Broke Me? Execution-Guided Repair of Behavioral Dependency BreaksarXiv · 2026