arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.14790cs.SEcs.PF
收藏

开源软件项目DevOps实践的基准测试方案

A Benchmarking Proposal for DevOps Practices on Open Source Software Projects

José Manuel Sánchez Ruiz, Francisco José Domínguez Mayo, Xavier Oriol, José Francisco Crespo, David Benavides, Ernest Teniente

AI总结:

本研究针对DORA基准无法适配开源软件项目的问题,适配并提出了含产出效率与稳定性维度的专用基准指标,开发工具自动采集GitHub数据,经四个热门OSS项目验证可行性,为OSS领域DevOps实践研究提供支撑。

摘要:

近年来,开源软件(OSS)项目的普及度大幅提升,越来越多的组织开始依赖这类项目。随着项目规模不断扩大,对更高质量的需求也随之增长。DevOps实践已被证明能够提升质量与性能。DORA基准测试报告为不同组织间的DevOps实践性能对比提供了有用信息,但这类报告聚焦于生产环境的持续部署与交付,而OSS项目的核心是代码的持续发布及其对第三方的影响。DORA报告提及了OSS项目在行业中应用广泛、占比日益提升,但从未被用于衡量OSS项目的性能水平。本研究表明DORA基准无法适用于OSS项目,并提出了面向OSS项目的基准测试指标,是首个适配DORA指标并将其应用于OSS项目的研究。本研究提出的OSS项目基准测试指标包括:用于衡量产出效率的发布频率(Release Frequency)、已发布变更前置时间(Lead Time For Released Changes),以及用于评估稳定性的代码修复时间(Time To Repair Code)、缺陷问题率(Bug Issues Rate)。与DORA报告通过人工问卷收集数据的方式不同,本方案通过我们自主开发的工具自动采集数据,该工具可从公开的GitHub仓库中提取信息,从而降低了基于问卷的数据收集方式存在的风险。本研究还通过将基准应用于Angular、Kubernetes、Tensorflow和VS Code这四个热门OSS项目,验证了其可行性。此外,我们提出了相关挑战,涵盖了拓展本研究知识与成果的主题和未来工作方向。总体而言,本研究的发现有助于推动OSS项目领域的未来研究,帮助人们更好地理解DevOps实践在OSS项目中的作用及面临的挑战。

英文摘要:

The popularity of open-source software (OSS) projects has grown significantly over the last few years with more organizations relying on them. As these projects become larger, the need for higher quality also increases. DevOps practices have been shown to improve quality and performance. The DORA benchmarking reports provide useful information to compare DevOps practices performance between organizations, but they focus on continuous deployment and delivery to production, while OSS projects focus on the continuous release of code and its impact on third parties. The DORA reports mention the increasing presence of OSS projects as they are widely used in the industry, but they have never been used to measure OSS projects performance levels. This study reveals that the DORA benchmark cannot be applied to OSS projects and proposes benchmarking metrics for OSS projects, being the first one that adapts the DORA metrics and applies them in OSS projects. The metrics proposed in this study for benchmarking OSS projects include Release Frequency and Lead Time For Released Changes to measure throughput, and Time To Repair Code and Bug Issues Rate to assess stability. In contrast to the DORA reports, where data is collected through manual surveys, in our proposal, data is collected automatically by a tool we developed that retrieves information from public GitHub repositories. This reduces the risk of survey-based data collection. Our study also shows the benchmark feasibility by applying it to four popular OSS projects: Angular, Kubernetes, Tensorflow, and VS Code. In addition, we proposed challenges that address the topics and future works to expand the knowledge and findings of this study. Overall, the findings of the study can help to improve future research on OSS projects and provide a better understanding and challenges of the role of DevOps practices in OSS projects.

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

↑