你拥有变更的代码,以及边缘所有者在低质量源代码中解决问题为何更慢
U Owns the Code That Changes and How Marginal Owners Resolve Issues Slower in Low-Quality Source Code
AI总结:
本文通过挖掘40个专有仓库并使用 CodeScene 与 Jira 数据分析代码质量、所有权和问题解决时间,发现边缘所有者在低质量代码中处理小、大变更分别多花45%和93%的时间。
摘要:
[背景] 准确的时间估算是可预测软件工程的关键方面。先前工作表明,较低的源代码质量会增加问题解决时间的不确定性。[目标] 我们的目标是评估开发者的项目经验和文件所有权与问题解决时间之间的关系。[方法] 我们挖掘了40个专有软件仓库,并开展了一项观察性研究。我们使用 CodeScene 测量源代码质量以及与 Jira 问题相关的活跃开发时间。[结果] 大多数源代码变更由边缘代码所有者或主导代码所有者完成。此外,对低质量源代码的大多数变更由所有权水平较低的开发者完成。在低质量源代码中,边缘所有者进行小变更需要多花45%的时间,进行大变更则需要多花93%的时间。[结论] 集体代码所有权是一个受欢迎的目标,但行业实践产生了许多主导所有者和边缘所有者。边缘所有者在处理低质量源代码时受到的阻碍尤其严重,从而导致生产力损失。在受技术债务困扰的代码库中,新入职开发者需要更多时间才能完成任务。
英文摘要:
[Context] Accurate time estimation is a critical aspect of predictable software engineering. Previous work shows that low source code quality increases the uncertainty in issue resolution times. [Objective] Our goal is to evaluate how developers' project experience and file ownership are related to issue resolution times. [Method] We mine 40 proprietary software repositories and conduct an observational study. Using CodeScene, we measure source code quality and active development time connected to Jira issues. [Results] Most source code changes are made by either a marginal or dominant code owner. Also, most changes to low-quality source code are made by developers with low levels of ownership. In low-quality source code, marginal owners need 45\% more time for small changes, and 93\% more time for large changes. [Conclusions] Collective code ownership is a popular target, but industry practice results in many dominant and marginal owners. Marginal owners are particularly hampered when working with low-quality source code, which leads to productivity losses. In codebases plagued by technical debt, newly onboarded developers will require more time to complete tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。