中文

我们在加速还是减速?论代码速度的时序特征

软件工程 2023-08-21 v1

摘要

本文研究在项目的生命周期中各类代码审查周期的时长如何变化。我们研究了四个开源软件(OSS)项目:Blender、FreeBSD、LLVM 和 Mozilla。我们挖掘并分析了覆盖平均七年开发过程的 283,235 次代码审查的特征。我们的主要结论是,时间的推移或项目规模均不影响代码速度。我们发现:(a) FreeBSD、LLVM 和 Mozilla 的各类代码审查周期(首次响应时间、接受时间、合并时间)要么变短要么保持不变;Blender 不存在方向性趋势;(b) 代码库规模的增长(每年 3-17%)并未伴随代码速度的下降;(c) 对于 FreeBSD、LLVM 和 Mozilla,合并时间的 30 天移动中位数保持在一个固定范围内。这些发现不随代码变更指标(如提交数或代码变更的不同作者数)的变动而改变。

关键词

引用

@article{arxiv.2303.04293,
  title  = {Are We Speeding Up or Slowing Down? On Temporal Aspects of Code Velocity},
  author = {Gunnar Kudrjavets and Nachiappan Nagappan and Ayushi Rastogi},
  journal= {arXiv preprint arXiv:2303.04293},
  year   = {2023}
}

备注

5 pages. To be published in Proceedings of MSR '23: Proceedings of the 20th International Conference on Mining Software Repositories (MSR 2023). May 15-16, 2023, Melbourne, Australia