首页> 外文会议>IEEE Symposium on Visual Languages and Human-Centric Computing >Evaluating how static analysis tools can reduce code review effort
【24h】

Evaluating how static analysis tools can reduce code review effort

机译:评估静态分析工具如何减少代码审查工作

获取原文

摘要

Peer code reviews are important for giving and receiving peer feedback, but the code review process is time consuming. Static analysis tools can help reduce reviewer effort by catching common mistakes prior to peer code review. Ideally, contributors would use static analysis tools prior to pull request submission so common mistakes could be addressed first, before invoking the reviewer. To explore the potential efficiency gains for peer reviewers, we explore the overlap between reviewer comments on pull requests and warnings from the PMD static analysis tool. In an empirical study of 274 comments from 92 pull requests on GitHub, we observed that PMD overlapped with nearly 16% of the reviewer comments, indicating a time benefit to the reviewer if static analyzers would have been used prior to pull request submission. Using the non-overlapping set of comments, we identify four additional rules that, if implemented, could further reduce reviewer effort.
机译:PEER代码审查对于给出和接收对等反馈非常重要,但代码审查过程是耗时的。静态分析工具可以通过在对等代码审查之前捕获常见错误来帮助减少审核员。理想情况下,贡献者将在提取请求提交之前使用静态分析工具,因此在调用审阅者之前可以先解决常见错误。为了探讨同行评审员的潜在效率提升,我们探讨了审阅者评论的重叠从PMD静态分析工具的拉拔请求和警告。在GitHub上的92个提取请求中的274评论的实证研究中,我们观察到PMD与近16个%的审阅者评论重叠,表示如果在拉动请求提交之前使用静态分析仪,则对审阅者的时间受益。使用非重叠的评论集,我们确定了四个额外的规则,如果实施,可以进一步降低审稿人的努力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号