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.
翻译:提升代码速度是众多软件项目的共同目标。代码审查流程的效率显著影响代码合并到最终产品并交付给客户的速度。我们通过一项调查研究了当前关于代码速度的观念和实践。我们分析了来自39名行业参与者和36名开源社区参与者的75份有效问卷。关键发现包括:(a) 行业与开源社区持有相似的观点;(b) 快速响应时间至关重要,这涉及工具基础设施及其他工程师的行为;(c) 合并时间是需改进的核心代码审查指标;(d) 工程师对提升代码速度对其职业发展的益处持不同意见;(e) 受控应用先提交后审查模式可提升代码速度。本研究支持无论底层组织生态如何,持续投入并改进代码速度的必要性。