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.
翻译:基于合并请求的开发模式已被现代开源软件(OSS)项目广泛采用,其中开发人员通过提交合并请求(PR)来向代码库提出更改。然而,由于许多原因,包括等待第一次响应的时间较长,OSS项目中的PR经常经历延迟。这样的延迟可能会严重影响开发过程的效率和生产力,以及新贡献者作为长期贡献者的保留。在本文中,我们通过分析GitHub上十个热门OSS项目中的111,094个关闭的PR,对PR的首次响应时间进行了探索性研究。我们发现机器人经常生成PR的第一次响应,并且机器人生成的第一次响应与人类生成的第一次响应之间存在明显差异。然后,我们进行了实证研究,以考察机器人和人类生成的首次响应的特征,包括它们与PR寿命的关系。我们的研究结果表明,机器人的存在是贡献基于合并请求的开发模式中首次响应时间的重要因素,因此应该与人类响应分开分析。我们还报告了更容易遇到等待第一次人类生成的响应的PR的特征。我们的发现对于新来者了解导致其PR延迟的因素具有实际意义。