paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Accurate method and variable tracking in commit history

提交历史中的精确方法与变量追踪
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 2/10 · 该论文聚焦提交历史中方法与变量声明的重构感知追踪,属于软件工程/开发者工具方向,虽涉及程序分析,但与用户核心关注(静态分析×LLM/Agent、浮点程序分析、贝叶斯程序分析及其与LLM交叉)没有直接交集。引用 12 inbox
Mehran Jodavi, Nikolaos Tsantalis
crossref: 2026-09-12

AI 速览

一句话:提出重构感知的 CodeTracker,高精度追踪提交历史中方法与变量声明的变更历史。

在项目提交历史中追踪程序元素对软件维护、理解与演化至关重要,工具精度直接影响采用。作者提出 CodeTracker,一个重构感知工具,能为方法与变量声明生成提交变更历史。评估显示,方法追踪达到 99.9% 精确率与召回率,超过此前最优工具 CodeShovel,且执行时间相当;它还是首个可追踪变量历史的同类工具,变量追踪精确率 99.7%、召回率 99.8%。为评估变量追踪,作者扩展 Grund 等人的 oracle,覆盖 200 个方法中 1345 个变量与参数的完整变更历史,并公开工具与 oracle。

问题
在项目提交历史中准确追踪方法与变量声明,对软件维护、理解和演化任务很重要,但现有工具精度不足或无法追踪变量。
方法
提出重构感知的 CodeTracker,通过识别重构来生成方法与变量声明的提交变更历史。
评估
在扩展的 Grund 等人 oracle 上评估,方法追踪达到 99.9% 精确率与召回率,变量追踪达到 99.7% 精确率与 99.8% 召回率,并公开工具与 oracle。
原文摘要(Abstract)

Tracking program elements in the commit history of a project is essential for supporting various software maintenance, comprehension and evolution tasks. Accuracy is of paramount importance for the adoption of program element tracking tools by developers and researchers. To this end, we propose CodeTracker, a refactoring-aware tool that can generate the commit change history for method and variable declarations with a very high accuracy. More specifically, CodeTracker has 99.9% precision and recall in method tracking, surpassing the previous state-of-the-art tool, CodeShovel, with a comparable execution time. CodeTracker is the first tool of its kind that can track the change history of variables with 99.7% precision and 99.8% recall. To evaluate its accuracy in variable tracking, we extended the oracle created by Grund et al. for the evaluation of CodeShovel, with the complete change history of all 1345 variables and parameters declared in the 200 methods comprising the Grund et al. oracle. We make our tool and extended oracle publicly available to enable the replication of our experiments and facilitate future research on program element tracking techniques.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7033,
  title = {Accurate method and variable tracking in commit history},
  author = {Mehran Jodavi and Nikolaos Tsantalis},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549079}
}