arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.13547cs.SE
收藏

质量守门人:调查代码审查机器人对 Pull Request 活动的影响

Quality Gatekeepers: Investigating the Effects ofCode Review Bots on Pull Request Activities

Mairieli Wessel, Alexander Serebrenik, Igor Wiese, Igor Steinmacher, Marco A. Gerosa

AI总结:

该研究结合 GitHub 1,194 个项目的断点回归分析与 12 名从业者访谈,揭示代码审查机器人对 PR 合并、未合并数量及开发者沟通的影响。

摘要:

软件机器人一直在促进开源软件(OSS)项目中的多项开发活动,包括代码审查。然而,正如采用新技术时经常发生的那样,这些机器人可能会对群体动态带来意想不到的影响。理解和预判此类影响对于规划和管理非常重要。为分析这些影响,我们调查了采用代码审查机器人后若干活动指标如何变化。我们对来自 GitHub 的 1,194 个软件项目采用了断点回归设计。我们还访谈了 12 名从业者,包括开源维护者和贡献者。结果表明,采用代码审查机器人会增加每月合并的 pull request 数量,减少每月未合并的 pull request,并减少开发者之间的沟通。从开发者的角度来看,除了围绕 pull request 的讨论发生变化之外,机器人评论所带来的透明度和信心也解释了这些影响。从业者和维护者可以利用我们的结果来理解甚至预测机器人对其项目的影响。

英文摘要:

Software bots have been facilitating several development activities in Open Source Software (OSS) projects, including code review. However, these bots may bring unexpected impacts to group dynamics, as frequently occurs with new technology adoption. Understanding and anticipating such effects is important for planning and management. To analyze these effects, we investigate how several activity indicators change after the adoption of a code review bot. We employed a regression discontinuity design on 1,194 software projects from GitHub. We also interviewed 12 practitioners, including open-source maintainers and contributors. Our results indicate that the adoption of code review bots increases the number of monthly merged pull requests, decreases monthly non-merged pull requests, and decreases communication among developers. From the developers' perspective, these effects are explained by the transparency and confidence the bot comments introduce, in addition to the changes in the discussion focused on pull requests. Practitioners and maintainers may leverage our results to understand, or even predict, bot effects on their projects.

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

↑