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

探索所有权与贡献一致性及代码技术债务之间的关系

Exploring the Relationship Between Ownership and Contribution Alignment and Code Technical Debt

Ehsan Zabardast, Javier Gonzalez-Huerta, Francis Palma, Panagiota Chatzipetrou

AI总结:

本文通过大型软件系统案例研究,探讨了所有权与贡献一致性和代码技术债务密度的关系,发现较高的贡献一致性和最小化团队间依赖有助于控制代码质量退化。

摘要:

软件开发组织旨在日益增长的系统复杂性中保持高效。为此,它们通常组建专注于独立组件的小团队,这些组件可以独立开发、测试和部署。将架构与组织结构对齐对于有效沟通和协作至关重要,能减少代码和架构退化。将特定组件的责任分配给主要负责它们的团队是实现这些目标的关键。本文探讨了所有权和贡献一致性与代码质量退化(以每行代码的技术债务衡量)之间的关系。还研究了团队结构变化如何影响其管理代码质量退化的能力。我们在一家开发大型软件系统的公司进行了案例研究,分析了一个团队管理的十个组件。该团队后来被拆分为两个,在新团队之间重新分配了组件。收集了其日常运营中使用的开发工具的存档数据。拆分前,四个组件中的贡献一致性与技术债务密度之间存在统计学上的显著负相关,表明较高的贡献一致性会导致较低的技术债务密度和更好的代码质量。拆分后,三个组件中这种负相关持续存在,而五个组件显示出正相关,表明较低的贡献一致性可能会加剧代码质量退化。研究结果表明,贡献一致性在控制软件开发组织中的代码质量退化方面很重要。确保团队负责他们最熟悉的组件并最小化团队之间的依赖关系有助于减轻代码质量退化。

英文摘要:

Software development organisations aim to stay effective and efficient amid growing system complexity. To address this, they often form small teams focused on separate components that can be independently developed, tested, and deployed. Aligning architecture with organisational structures is crucial for effective communication and collaboration, reducing code and architectural degradation. Assigning specific component responsibility to the teams primarily working on them is key to these goals. This article explores the relationship between ownership and contribution alignment and code quality degradation, measured as technical debt per line of code. It also examines how team structure changes impact their ability to manage code quality degradation. We conducted a case study in a company developing a large software system, analysing ten components managed by one team. This team was later split into two, redistributing components between the new teams. Archival data from development tools used in their daily operations was collected. Before the split, there was a statistically significant negative correlation between contribution alignment and technical debt density in four components, indicating that higher contribution alignment leads to lower technical debt density and better code quality. After the split, this negative correlation persisted in three components, while five components showed a positive correlation, suggesting that low contribution alignment might worsen code quality degradation. Our findings suggest that contribution alignment is important in controlling code quality degradation in software development organisations. Ensuring teams are responsible for components they are most familiar with and minimising dependencies between teams can help mitigate code quality degradation.

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

↑