Lune

ICSE2020顶会

Primers or reminders?: the effects of existing review comments on code review

Davide Spadini, Gül Çalikli, Alberto Bacchelli

摘要

In contemporary code review, the comments put by reviewers on a specific code change are immediately visible to the other reviewers involved. Could this visibility prime new reviewers' attention (due to the human's proneness to availability bias), thus biasing the code review outcome? In this study, we investigate this topic by conducting a controlled experiment with 85 developers who perform a code review and a psychological experiment. With the psychological experiment, we find that ≈70% of participants are prone to availability bias. However, when it comes to the code review, our experiment results show that participants are primed only when the existing code review comment is about a type of bug that is not normally considered; when this comment is visible, participants are more likely to find another occurrence of this type of bug. Moreover, this priming effect does not influence reviewers' likelihood of detecting other types of bugs. Our findings suggest that the current code review practice is effective because existing review comments about bugs in code changes are not negative primers, rather positive reminders for bugs that would otherwise be overlooked during code review. Data and materials: https://doi.org/10.5281/zenodo.3653856

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • First come first served: the impact of file position on code review 引用了 Why Don't Developers Detect Improper Input Validation? '; DROP TABLE Papers; -
  • Less is More: Supporting Developers in Vulnerability Detection during Code Review 引用了 Why Don't Developers Detect Improper Input Validation? '; DROP TABLE Papers; -
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. AUGER: automatically generating review comments with pre-training modelsLingwei Li, Li Yang, Huaxi Jiang, Jun Yan 等FSE 2022 · 56 次引用
  2. Less is More: Supporting Developers in Vulnerability Detection during Code ReviewLarissa Braz, Christian Aeberhard, Gül Çalikli, Alberto BacchelliICSE 2022 · 26 次引用
  3. First come first served: the impact of file position on code reviewEnrico Fregnan, Larissa Braz, Marco D'Ambros, Gül Çalikli 等FSE 2022 · 16 次引用
  4. Do you really code? Designing and Evaluating Screening Questions for Online Surveys with ProgrammersAnastasia Danilova, Alena Naiakshina, Stefan Horstmann, Matthew SmithICSE 2021 · 5 次引用
  5. Why Don't Developers Detect Improper Input Validation? '; DROP TABLE Papers; -Larissa Braz, Enrico Fregnan, Gül Çalikli, Alberto BacchelliICSE 2021 · 1 次引用

相关 Paper

  1. Mitigating the Risk of Defects and Improving Knowledge Distribution with Code Reviewer RecommendersMohammadali Sefidi Esfahani, Peter C. RigbyFSE 2026
  2. Why Security Defects Go Unnoticed during Code Reviews? A Case-Control Study of the Chromium OS ProjectRajshakhar Paul, Asif Kamal Turzo, Amiangshu BosuICSE 2021 · 2 次引用
  3. The Effect of Complexity and Provenance on Code Review Decisions: Evidence from a Controlled ExperimentNeha Singh, Francesco Sovrano, Vincent J. Hellendoorn, Alberto BacchelliFSE 2026
  4. CommentFinder: a simpler, faster, more accurate code review comments recommendationYang Hong, Chakkrit Tantithamthavorn, Patanamon Thongtanunam, Aldeida AletiFSE 2022 · 57 次引用
  5. Interpersonal Conflicts During Code Review: Developers' Experience and PracticesPavlína Wurzel Gonçalves, Gül Çalikli, Alberto BacchelliCSCW 2022 · 11 次引用
黄昏的海面,两侧是细线勾勒的悬崖