paperbot · PL 论文追踪

全部论文 待读 收藏

P2 SmartPatchLinker: An Open-Source Tool to Linked Changes Detection for Code Review

SmartPatchLinker:面向代码评审的关联变更检测开源工具
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 该论文是代码评审场景下的工程工具(Chrome 扩展 + 本地推理检索语义相关补丁),虽涉及“机器学习与程序语言”标签,但不属于静态分析、Agentic 程序分析、浮点程序分析或贝叶斯程序分析等用户核心方向,也缺乏理论形式化与问题驱动的失效分析。引用 0 inbox
Islem Khemissi, Moataz Chouchen, Dong Wang, Raula Gaikovina Kula
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出开源 Chrome 扩展 SmartPatchLinker,在 Gerrit 评审界面内用本地推理检索并排序语义关联的补丁。

在大型软件生态中,语义相关的代码变更(如替代方案或重叠修改)往往在提交后数日才被发现,造成重复劳动和评审延迟。SmartPatchLinker 是一个基于浏览器的工具,直接在代码评审界面中发现相关补丁。它以轻量级 Chrome 扩展实现,配备本地推理后端,并与 Gerrit 集成:当评审者打开补丁时,工具检索并排序语义关联的变更。评审者可配置搜索范围、查看带置信度的排序候选,并在不离开工作流、不依赖服务器端安装的情况下查看相关工作。论文通过有用性与可用性评估研究其对评审者的支持。

问题
大型软件生态中语义相关或重叠的代码变更常在提交后很久才被发现,导致重复工作与评审延迟;评审者缺少在工作流内发现相关补丁的手段。
方法
实现为轻量级 Chrome 扩展加本地推理后端,与 Gerrit 集成,在打开补丁时检索并排序语义链接的变更,支持配置搜索范围、查看带置信度的候选。
评估
开展有用性与可用性评估,考察工具如何支持评审者进行代码评审;工具开源,源码、Docker 容器及复现包公开。
原文摘要(Abstract)

In large software ecosystems, semantically related code changes—such as alternative solutions or overlapping modifications—are often discovered only days after submission, leading to duplicated effort and delayed reviews. We present SmartPatchLinker, a browser-based tool that supports the discovery of related patches directly within the code review interface. SmartPatchLinker is implemented as a lightweight Chrome extension with a local inference backend and integrates with Gerrit to retrieve and rank semantically linked changes when a reviewer opens a patch. The tool allows reviewers to configure the search scope, view ranked candidates with confidence indicators, and examine related work without leaving their workflow or relying on server-side installations. We perform both usefulness and usability evaluations to study how SmartPatch-Linker can support reviewers during code review. SmartPatchLinker is open source, and its source code, Docker containers, and the replication package used in our evaluation are publicly available on GitHub1. A video demonstrating the tool is also available online2.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2604-04045,
  title = {SmartPatchLinker: An Open-Source Tool to Linked Changes Detection for Code Review},
  author = {Islem Khemissi and Moataz Chouchen and Dong Wang and Raula Gaikovina Kula},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3806434}
}