arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.08426cs.SE
收藏

理解 GitHub 拉取请求中首次响应时间的特征

Understanding the Time to First Response In GitHub Pull Requests

Kazi Amit Hasan, Marcos Macedo, Yuan Tian, Bram Adams, Steven Ding

AI总结:

本文通过分析 GitHub 上十个热门开源项目的 111,094 个已关闭 PR,研究首次响应时间,发现机器人响应与人类响应在时间上存在显著差异,并揭示了影响首次人类响应等待时间的 PR 特征。

摘要:

基于拉取的开发模式在现代开源软件(OSS)项目中被广泛采用,开发者通过提交拉取请求(PR)来提议对代码库进行更改。然而,由于多种原因,OSS 项目中的 PR 在其生命周期中经常经历延迟,包括等待首次响应的漫长等待时间。此类延迟可能显著影响开发过程的效率和生产力,以及新贡献者留存为长期贡献者的可能性。在本文中,我们通过分析来自 GitHub 上十个热门 OSS 项目的 111,094 个已关闭 PR,对 PR 的首次响应时间进行了探索性研究。我们发现机器人经常在 PR 中产生首次响应,并且机器人产生的首次响应与人类产生的首次响应在时间上存在显著差异。随后,我们进行了一项实证研究,以考察机器人和人类产生的首次响应的特征,包括它们与 PR 生命周期的关系。我们的结果表明,机器人的存在是影响基于拉取的开发范式中首次响应时间的一个重要因素,因此应与人类响应分开分析。我们还报告了更可能经历长时间等待首次人类响应的 PR 的特征。我们的发现对新加入者理解导致其 PR 延迟的因素具有实际意义。

英文摘要:

The pull-based development is widely adopted in modern open-source software (OSS) projects, where developers propose changes to the codebase by submitting a pull request (PR). However, due to many reasons, PRs in OSS projects frequently experience delays across their lifespan, including prolonged waiting times for the first response. Such delays may significantly impact the efficiency and productivity of the development process, as well as the retention of new contributors as long-term contributors. In this paper, we conduct an exploratory study on the time-to-first-response for PRs by analyzing 111,094 closed PRs from ten popular OSS projects on GitHub. We find that bots frequently generate the first response in a PR, and significant differences exist in the timing of bot-generated versus human-generated first responses. We then perform an empirical study to examine the characteristics of bot- and human-generated first responses, including their relationship with the PR's lifetime. Our results suggest that the presence of bots is an important factor contributing to the time-to-first-response in the pull-based development paradigm, and hence should be separately analyzed from human responses. We also report the characteristics of PRs that are more likely to experience long waiting for the first human-generated response. Our findings have practical implications for newcomers to understand the factors contributing to delays in their PRs.

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

↑