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

快速修复与故障驱动:Linux内核中回归缺陷修复时间的实证分析

Fast Fixes and Faulty Drivers: An Empirical Analysis of Regression Bug Fixing Times in the Linux Kernel

Jukka Ruohonen, Adam Alami

AI总结:

本文实证分析Linux内核回归缺陷修复时间,发现修复速度快于以往报告,设备驱动为最易受影响子系统,且代码审查与测试不能解释修复时间差异。

摘要:

回归缺陷指的是先前正常工作的功能当前不再正常工作的情形。这类缺陷在Linux内核中尤为突出。本文聚焦于内核中的回归缺陷跟踪,考虑修复回归缺陷所需的时间。研究数据集基于用于跟踪Linux内核回归的regzbot自动化框架。结果表明:(i)回归缺陷修复时间比先前报道的更快;在2021年至2024年间,平均修复回归缺陷所需时间不到一个月。进一步明显的是,(ii)设备驱动程序是最易发生回归缺陷的子系统,且修复时间在不同内核子系统间存在差异。尽管(iii)大多数修复回归缺陷的提交已经过审查、测试或两者兼有,但内核的代码审查和手动测试实践并不能解释修复时间的差异。同样,(iv)代码变更量在统计上对解释修复时间仅有微弱信号。最后,(v)某些子系统在统计上对解释缺陷修复时间表现出较强效应,尽管整体统计性能一般,但在该研究领域并非异常。通过这些实证结果,本文有助于更好地理解软件回归及其在Linux内核中的跟踪。

英文摘要:

Regression bugs refer to situations in which something that worked previously no longer works currently. Such bugs have been pronounced in the Linux kernel. The paper focuses on regression bug tracking in the kernel by considering the time required to fix regression bugs. The dataset examined is based on the regzbot automation framework for tracking regressions in the Linux kernel. According to the results, (i) regression bug fixing times have been faster than previously reported; between 2021 and 2024, on average, it has taken less than a month to fix regression bugs. It is further evident that (ii) device drivers constitute the most prone subsystem for regression bugs, and also the fixing times vary across the kernel's subsystems. Although (iii) most commits fixing regression bugs have been reviewed, tested, or both, the kernel's code reviewing and manual testing practices do not explain the fixing times. Likewise, (iv) there is only a weak signal that code churn might contribute to explaining the fixing times statistically. Finally, (v) some subsystems exhibit strong effects for explaining the bug fixing times statistically, although overall statistical performance is modest but not atypical to the research domain. With these empirical results, the paper contributes to the efforts to better understand software regressions and their tracking in the Linux kernel.

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

↑