一句话:通过实证研究 GitHub suggested changes 功能,揭示其对代码评审中开发者推荐时机与沟通的影响。
同事之间的推荐有助于开发者改进实践,但工作场所中的面对面推荐正在减少。在线 pull request 是开发者相互推荐的一种形式,GitHub 新推出的 suggested changes 功能允许用户在 pull request 中直接推荐改进。为理解该功能及其影响,本文开展实证研究,从使用情况、效果和开发者感知三个维度进行测量。结果表明,suggested changes 能支持代码评审活动,并显著影响 pull request 上开发者之间的沟通时机与方式。作者进而讨论了对未来自动开发者推荐系统的启示,例如应提供情境化、简洁且可操作的反馈。
Recommendations between colleagues are effective for encouraging developers to adopt better practices. Research shows these peer interactions are useful for improving developer behaviors, or the adoption of activities to help software engineers complete programming tasks. However, in-person recommendations between developers in the workplace are declining. One form of online recommendations between developers are pull requests, which allow users to propose code changes and provide feedback on contributions. GitHub, a popular code hosting platform, recently introduced the suggested changes feature, which allows users to recommend improvements for pull requests. To better understand this feature and its impact on recommendations between developers, we report an empirical study of this system, measuring usage, effectiveness, and perception. Our results show that suggested changes support code review activities and significantly impact the timing and communication between developers on pull requests. This work provides insight into the suggested changes feature and implications for improving future systems for automated developer recommendations, such as providing situated, concise, and actionable feedback.