使用这个补丁安全吗?Mozilla Firefox的实证研究
Is It Safe to Uplift This Patch? An Empirical Study on Mozilla Firefox
摘要:
在快速发布开发过程中,修复关键问题或实现高价值功能的补丁通常直接从开发通道提升到稳定通道,可能会跳过一个或多个稳定通道。这种做法被称为补丁隆起。补丁提升是有风险的,因为匆忙通过稳定化阶段的补丁可能最终会在代码中引入回归。本文研究了Mozilla的补丁提升操作,目的是识别引入回归的提升补丁的特征。通过统计和人工分析,我们定量和定性地研究斑块隆起决策背后的原因和隆起斑块的特点,介绍了回归。此外,我们采访了三位Mozilla发布经理,以了解影响补丁升级决策和结果的组织因素。结果表明,大多数补丁是因为错误的功能或崩溃而提升的。导致错误的提升补丁往往具有更大的补丁大小,并且大多数错误是由于补丁中的语义或内存错误。而且,发布经理更倾向于接受涉及某些特定组件的补丁升级请求,以及由某些特定开发人员提交的补丁升级请求。
英文摘要:
In rapid release development processes, patches that fix critical issues, or implement high-value features are often promoted directly from the development channel to a stabilization channel, potentially skipping one or more stabilization channels. This practice is called patch uplift. Patch uplift is risky, because patches that are rushed through the stabilization phase can end up introducing regressions in the code. This paper examines patch uplift operations at Mozilla, with the aim to identify the characteristics of uplifted patches that introduce regressions. Through statistical and manual analyses, we quantitatively and qualitatively investigate the reasons behind patch uplift decisions and the characteristics of uplifted patches that introduced regressions. Additionally, we interviewed three Mozilla release managers to understand organizational factors that affect patch uplift decisions and outcomes. Results show that most patches are uplifted because of a wrong functionality or a crash. Uplifted patches that lead to faults tend to have larger patch size, and most of the faults are due to semantic or memory errors in the patches. Also, release managers are more inclined to accept patch uplift requests that concern certain specific components, and-or that are submitted by certain specific developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。