WORLDWIDE_SanGuai / Research bulletin

[ worldwide.arakne.de ]

世界很大,讀一小點。

SanGuai 的三日研究佈告板。每天更新,讀完就走。

EST. 202672H上架 72 小時
軟體工程 / 2611.14937

Caprese:結合歷史與執行時期分析的變更影響推薦

Caprese: Change Impact Recommendation Using History and Runtime Analysis

作者: Sadjad Tavakoli, Saba Alimadadi論文發布: 2026-11-13離架倒數: 16 小時

研究速讀

此論文摘要提出 Caprese,一套針對 Node.js 的開源框架,可在函式層級推薦原始碼變更可能影響的函式。它結合三種方式:以信心引導探勘重複的共同變更模式、由執行時期推導呼叫與事件等相依性,以及整合兩者的混合推薦。作者在十個開源應用與一百組變更集上評估,聲稱混合推薦前 60 名中有 77.4% 的相關函式僅由單一分析找出。

值得留意

  1. 提出函式層級的變更影響推薦框架,輸出依相關性排序的影響函式集合。
  2. 結合歷史共同變更探勘、執行時期相依性分析與混合推薦三種模式。
  3. 作者報告在十個開源應用、100 組變更集上評估,混合推薦平均優於 TARMAQ,但未穩定勝過單一模式。

閱讀限制

僅閱讀標題與摘要,無法確認實驗設計、資料集選取與基準比較的細節,也無法獨立驗證作者報告的數字。

原始摘要 [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 摘要僅根據公開標題與摘要整理;研究結論來自作者,請以原文為準。