paperbot · PL 论文追踪

全部论文 待读 收藏

P2 What Types of Code Review Comments Do Developers Most Frequently Resolve?

开发者最常解决哪些类型的代码评审评论?
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 3/10 · 论文关注 LLM 辅助代码评审评论的分类与解决率,属于 LLM 与开发者工具交叉,但与用户核心方向(静态分析、Agentic 程序分析、浮点/贝叶斯程序分析及其与 LLM 的交叉)关联较弱。它也没有提出理论形式化或面向静态分析/验证的方法,更多是经验性研究。引用 0 inbox
Saul Goldman, Hong Yi Lin, Jirat Pasuksmit, Patanamon Thongtanunam, Kla Tantithamthavorn, Zhe Wang, Ray Zhang, Ali Behnaz, Fan Jiang, Michael Siers, Ryan Jiang, Mike Buller, Minwoo Jeong, Ming Wu
crossref: 2026-09-12

AI 速览

一句话:通过 LLM-as-a-Judge 对五类评审评论分类,发现可读性、bug 与可维护性评论的解决率高于设计类评论。

LLM 驱动的代码评审自动化工具已能生成评审评论,但并非所有评论都会促成代码修改,因此识别哪些类型的生成评论是“可操作”的至关重要。本文研究两个问题:(1)人类与 LLM 撰写的评审评论各属哪些类型;(2)哪些类型的生成评论最常被开发者解决。作者构建了一个 LLM-as-a-Judge,基于自建的五类分类法自动对评审评论进行分类,并开展实证研究。结果显示:LLM 评审者与人类评审者因项目背景不同而各有强弱;可读性、bug 和可维护性相关评论的解决率高于聚焦代码设计的评论。这表明相当比例的 LLM 生成评论是可操作的、能被开发者解决,也凸显了 LLM 与人类评审者之间的互补性。

问题
LLM 生成的代码评审评论数量增多,但并非都能推动代码变更,尚不清楚哪些类型的评论更可能被开发者实际解决。
方法
作者建立了五类评审评论分类法,并实现 LLM-as-a-Judge 自动分类,进而对人工与 LLM 评论的类型分布及其解决率进行实证分析。
评估
在真实代码评审数据上比较人类与 LLM 评审者评论类型的差异,并统计各类评论被开发者解决的频率。
原文摘要(Abstract)

Large language model (LLM)-powered code review automation tools have been introduced to generate code review comments. However, not all generated comments will drive code changes. Understanding what types of generated review comments are likely to trigger code changes is crucial for identifying those that are actionable. In this paper, we set out to investigate (1) the types of review comments written by humans and LLMs, and (2) the types of generated comments that are most frequently resolved by developers. To do so, we developed an LLM-as-a-Judge to automatically classify review comments based on our own taxonomy of five categories. Our empirical study confirms that (1) the LLM reviewer and human reviewers exhibit distinct strengths and weaknesses depending on the project context, and (2) readability, bugs, and maintainability-related comments had higher resolution rates than those focused on code design. These results suggest that a substantial proportion of LLM-generated comments are actionable and can be resolved by developers. Our work highlights the complementarity between LLM and human reviewers and offers suggestions to improve the practical effectiveness of LLM-powered code review tools.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9441,
  title = {What Types of Code Review Comments Do Developers Most Frequently Resolve?},
  author = {Saul Goldman and Hong Yi Lin and Jirat Pasuksmit and Patanamon Thongtanunam and Kla Tantithamthavorn and Zhe Wang and Ray Zhang and Ali Behnaz and Fan Jiang and Michael Siers and Ryan Jiang and Mike Buller and Minwoo Jeong and Ming Wu},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00312}
}