paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Understanding why we cannot model how long a code review will take: an industrial case study

理解为何我们无法建模代码评审将耗时多久:一项工业案例研究
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 1/10 · 该论文研究 Meta 工业场景下代码评审耗时的预测建模与影响因素,属于经验软件工程/开发者效率方向,不涉及静态分析、Agentic/LLM 程序分析、浮点程序分析或贝叶斯程序分析。虽然它是工业案例并报告了建模困难,但与用户核心研究方向基本无关。引用 11 inbox
Lawrence Chen, Peter C. Rigby, Nachiappan Nagappan
crossref: 2026-09-12

AI 速览

一句话:通过 Meta 工业案例研究代码评审耗时的影响因素,并报告评审时长难以可靠建模。

本文面向 Meta 的工业代码评审场景,研究一个 diff/change 在评审中停留时间的影响因素,以缓解人工评审拖慢持续集成的问题。作者先通过开发者调查了解评审等待体验,发现在等待约 24 小时后评审开始令人感觉缓慢。随后构建评审时间预测模型,试图识别导致评审变慢的潜在因素,并用于决定何时提醒 reviewer 或定位需要处理的 diff 相关因素。标题与案例结论强调,评审耗时受多因素影响,难以建立可靠预测模型,为后续研究提出负面结果与经验教训。

问题
研究问题是:哪些因素影响代码评审耗时,以及能否在工业环境下预测 diff 的评审时长,以支持提醒 reviewer 和持续集成决策。
方法
方法包括 Meta 的工业案例研究、开发者调查,以及构建评审时间预测模型来识别潜在影响因素。
评估
评估基于工业案例中的开发者调查反馈与评审时间预测模型分析,调查显示等待约 24 小时后 reviewer 开始感觉评审缓慢。
原文摘要(Abstract)

Code review is an effective practice for finding defects, but because it is manually intensive it can slow down the continuous integration of changes. Our goal was to understand the factors that influenced the time a change, ie a diff at Meta, would spend in review. A developer survey showed that diff reviews start to feel slow after they have been waiting for around 24 hour review. We built a review time predictor model to identify potential factors that may be causing reviews to take longer, which we could use to predict when would be the best time to nudge reviewers or to identify diff-related factors that we may need to address.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7052,
  title = {Understanding why we cannot model how long a code review will take: an industrial case study},
  author = {Lawrence Chen and Peter C. Rigby and Nachiappan Nagappan},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3558945}
}