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