Effective peer code review in collaborative software development necessitates useful reviewer comments and supportive automated tools. Code review comments are a central component of the Modern Code Review process in the industry and open-source development. Therefore, it is important to ensure these comments serve their purposes. This paper reflects the evolution of research on the usefulness of code review comments. It examines papers that define the usefulness of code review comments, mine and annotate datasets, study developers' perceptions, analyze factors from different aspects, and use machine learning classifiers to automatically predict the usefulness of code review comments. Finally, it discusses the open problems and challenges in recognizing useful code review comments for future research.
翻译:有效的同行代码审查在协作软件开发中需要有用的审阅者评论和支持性自动化工具。代码审查评论是现代代码审查流程(在工业界和开源开发中)的核心组成部分。因此,确保这些评论发挥其作用至关重要。本文反映了关于代码审查评论有用性的研究演变。它考察了定义代码审查评论有用性、挖掘和标注数据集、研究开发者认知、从不同角度分析因素以及使用机器学习分类器自动预测代码审查评论有用性的论文。最后,本文讨论了在识别有用代码审查评论方面存在的开放问题和挑战,以供未来研究参考。