paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Deep Learning-based Code Reviews: A Paradigm Shift or a Double-Edged Sword?

基于深度学习的代码审查:范式转变还是双刃剑?
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 3/10 · 该论文是 LLM 自动代码审查对开发者行为影响的实证研究,属于软件工程/开发者工具的人因评估,与用户核心方向(静态分析、Agentic 程序分析、浮点/贝叶斯程序分析与 LLM 交叉)没有直接方法或理论关联;仅在“LLM 辅助软件开发工具”层面有较弱邻近性。引用 3 inbox
Rosalia Tufano, Alberto Martin-Lopez, Ahmad Tayeb, Ozren Dabić, Sonia Haiduc, Gabriele Bavota
crossref: 2026-09-12

AI 速览

一句话:通过29名开发者的对照实验,揭示LLM自动代码审查对审查行为、质量、耗时与信心的真实影响。

本文研究将自动生成代码审查(尤其LLM反馈)引入人工代码审查流程的实际影响。尽管LLM共同审查者日益流行,但缺乏对其影响审查质量、成本和信心的实证。作者开展受控实验:29名职业开发者分别在有/无自动代码审查支持下审查程序,并监控超过50小时审查活动。结果显示,审查者认为LLM识别的大多数问题有效;自动审查强烈影响其行为,使其聚焦LLM指出的位置,而非搜索其他问题。自动审查起点帮助发现更多低严重度问题,但未增加高严重度问题;且未节省时间,也未提高信心。

问题
自动生成的代码审查(尤其LLM反馈)会如何影响人工代码审查过程,尤其是在审查质量、审查成本和审查者信心方面。
方法
开展受控实验,29名职业开发者在有/无自动代码审查支持的条件下审查不同程序,并记录超过50小时的审查活动。
评估
比较两组在问题识别质量、审查耗时和反馈信心上的差异,并分析自动审查对审查者行为的影响。
原文摘要(Abstract)

Several techniques have been proposed to (partially) automate code review. Early support consisted in recommending the most suited reviewer for a given change or in prioritizing the review tasks. With the advent of deep learning in software engineering, the level of automation has been pushed to new heights, with approaches able to provide feedback on source code in natural language as a human reviewer would do. Also, recent work documented open source projects adopting Large Language Models (LLMs) as co-reviewers. Although the research in this field is very active, little is known about the actual impact of including automatically generated code reviews in the code review process. While there are many aspects worth investigating (e.g., is knowledge transfer between developers affected?), in this work we focus on three of them: (i) review quality, i.e., the reviewer's ability to identify issues in the code; (ii) review cost, i.e., the time spent reviewing the code; and (iii) reviewer's confidence, i.e., how confident is the reviewer about the provided feedback. We run a controlled experiment with 29 professional developers who reviewed different programs with/without the support of an automatically generated code review. During the experiment we monitored the reviewers' activities, for over 50 hours of recorded code reviews. We show that reviewers consider valid most of the issues automatically identified by the LLM and that the availability of an automated review as a starting point strongly influences their behavior: Reviewers tend to focus on the code locations indicated by the LLM rather than searching for additional issues in other parts of the code. The reviewers who started from an automated review identified a higher number of low-severity issues while, however, not identifying more high-severity issues as compared to a completely manual process. Finally, the automated support did not result in saved time and did not increase the reviewers' confidence.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8852,
  title = {Deep Learning-based Code Reviews: A Paradigm Shift or a Double-Edged Sword?},
  author = {Rosalia Tufano and Alberto Martin-Lopez and Ahmad Tayeb and Ozren Dabić and Sonia Haiduc and Gabriele Bavota},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00060}
}