arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.02489cs.SE
收藏

代码审查速度对从业者重要吗?

Does Code Review Speed Matter for Practitioners?

Gunnar Kudrjavets, Ayushi Rastogi

AI总结:

本研究通过对75名行业及开源从业者的调研,探究了代码审查速度相关的认知与实践,明确了核心优化指标、不同群体的认知差异及可行提速方案,证实了持续投入代码速度优化的必要性。

摘要:

提升代码速度是各类软件项目的共同目标,代码审查流程的效率显著影响代码合并到最终产品并触达用户的速度。我们开展了一项调研,以研究业内与代码速度相关的认知和实践,共分析了75份有效问卷,受访者包括39名行业从业者和36名开源社区成员。我们的核心发现包括:(a)行业与开源社区持有相似的认知体系;(b)快速响应时间至关重要,且适用于工具基础设施和其他工程师的行为;(c)合并耗时(time-to-merge)是需要优化的核心代码审查指标;(d)工程师对于提升代码速度对自身职业发展的益处存在不同看法;(e)可控地应用“先提交后审查”(commit-then-review)模型可提升代码速度。本研究表明,无论底层组织生态如何,都有持续投入并优化代码速度的必要性。

英文摘要:

Increasing code velocity is a common goal for a variety of software projects. The efficiency of the code review process significantly impacts how fast the code gets merged into the final product and reaches the customers. We conducted a survey to study the code velocity-related beliefs and practices in place. We analyzed 75 completed surveys from 39 participants from the industry and 36 from the open-source community. Our critical findings are (a) the industry and open-source community hold a similar set of beliefs, (b) quick reaction time is of utmost importance and applies to the tooling infrastructure and the behavior of other engineers, (c) time-to-merge is the essential code review metric to improve, (d) engineers have differing opinions about the benefits of increased code velocity for their career growth, and (e) the controlled application of the commit-then-review model can increase code velocity. Our study supports the continued need to invest in and improve code velocity regardless of the underlying organizational ecosystem.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑