Peer code reviews are crucial for maintaining the quality of the code in software repositories. Developers have introduced a number of software bots to help with the code review process. Despite the benefits of automating code review tasks, many developers face challenges interacting with these bots due to non-comprehensive feedback and disruptive notifications. In this paper, we analyze how incorporating a bot in software development cycle will decrease turnaround time of pull request. We created a bot called SUGGESTION BOT to automatically review the code base using GitHub's suggested changes functionality in order to solve this issue. A preliminary comparative empirical investigation between the utilization of this bot and manual review procedures was also conducted in this study. We evaluate SUGGESTION BOT concerning its impact on review time and also analyze whether the comments given by the bot are clear and useful for users. Our results provide implications for the design of future systems and improving human-bot interactions for code review.
翻译:同行代码审查对于维护软件仓库中代码质量至关重要。开发者引入了多种软件机器人来辅助代码审查流程。尽管自动化代码审查任务带来诸多益处,但许多开发者因机器人反馈不全面及通知干扰而面临交互挑战。本文分析了在软件开发周期中集成机器人如何减少拉取请求的周转时间。我们创建了名为SUGGESTION BOT的机器人,利用GitHub的建议修改功能自动审查代码库以解决上述问题。本研究还初步开展了对比实证研究,评估该机器人应用与人工审查流程的差异。我们评估SUGGESTION BOT对审查时间的影响,并分析机器人提供的评论是否对用户清晰实用。研究结果为未来系统设计及改善代码审查中的人机交互提供了启示。