Caprese: Change Impact Recommendation Using History and Runtime Analysis
THE QUICK READ
The abstract presents Caprese, an open-source framework for function-level change impact recommendation in Node.js. Given a change set, it ranks potentially affected functions using three modes: confidence-guided mining of recurring co-change patterns, runtime-derived dependencies such as calls, callbacks, events, timers and shared state, and a hybrid of both. The authors report an evaluation on ten open-source applications and 100 change sets, where 77.4% of relevant functions in the top 60 hybrid recommendations were found by only one analysis.
KEY POINTS
- Proposes a function-level change impact recommendation framework that outputs a ranked set of potentially affected functions.
- Combines repository-based co-change mining, runtime dependency analysis and hybrid recommendation.
- Authors report evaluation on ten open-source applications and 100 change sets; hybrid recommendation outperforms TARMAQ on average but not consistently the individual modes.
READING LIMITS
Based only on the title and abstract, the experimental setup, dataset selection and baseline details cannot be verified, and the reported numbers are the authors' claims.
Source abstract [EN]
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.
AI summaries use public titles and abstracts only. Research claims belong to the authors; consult the original paper.