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

论被浪费的贡献:理解贡献者放弃 Pull Requests 的动态机制

On Wasted Contributions: Understanding the Dynamics of Contributor-Abandoned Pull Requests

Concordia University(康考迪亚大学);Carleton University(卡尔顿大学)

SayedHassan Khatoonabadi, Diego Elias Costa, Rabe Abdalkareem, Emad Shihab

AI总结:

本研究通过混合方法分析十个 GitHub 项目的 265,325 个 PRs,揭示了贡献者放弃 PR 的关键特征与原因,发现 PR 复杂度、新手身份、审查时长及项目成熟度显著影响放弃率,并调查了维护者的应对视角。

摘要:

基于 Pull 的开发模式使众多志愿者能够以更低的门槛为开源项目做出贡献。然而,大量包含有效贡献的 pull requests (PRs) 被其贡献者放弃,浪费了贡献者和维护者投入的精力和时间。为了更好地理解贡献者放弃 PRs 的潜在动态机制,我们采用定量和定性方法开展了一项混合方法研究。我们整理了一个包含来自十个流行且成熟的 GitHub 项目的 265,325 个 PRs 的数据集(其中包括 4,450 个被放弃的 PRs),并测量了 16 个表征 PRs、贡献者、审查过程和项目的特征。使用统计和机器学习技术,我们发现复杂的 PRs、新手贡献者和冗长的审查具有更高的放弃概率,并且 PR 放弃率随项目的成熟度或工作负荷而波动。为了探究贡献者放弃其 PRs 的原因,我们还手动检查了 354 个被放弃 PRs 的随机样本。我们观察到,最频繁的放弃原因与贡献者面临的障碍有关,其次是维护者在审查过程中设置的阻碍。最后,我们调查了所研究项目的顶级核心维护者,以了解他们对于处理 PR 放弃现象及我们研究发现的看法。

英文摘要:

Pull-based development has enabled numerous volunteers to contribute to open-source projects with fewer barriers. Nevertheless, a considerable amount of pull requests (PRs) with valid contributions are abandoned by their contributors, wasting the effort and time put in by both the contributors and maintainers. To better understand the underlying dynamics of contributor-abandoned PRs, we conduct a mixed-methods study using both quantitative and qualitative methods. We curate a dataset consisting of 265,325 PRs including 4,450 abandoned ones from ten popular and mature GitHub projects and measure 16 features characterizing PRs, contributors, review processes, and projects. Using statistical and machine learning techniques, we find that complex PRs, novice contributors, and lengthy reviews have a higher probability of abandonment and the rate of PR abandonment fluctuates alongside the projects' maturity or workload. To identify why contributors abandon their PRs, we also manually examine a random sample of 354 abandoned PRs. We observe that the most frequent abandonment reasons are related to the obstacles faced by contributors, followed by the hurdles imposed by maintainers during the review process. Finally, we survey the top core maintainers of the studied projects to understand their perspectives on dealing with PR abandonment and on our findings.

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

↑