代码审查自动化研究综述
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP311

基金项目:

中国科学院-东莞科技服务网络计划(202016002000032);国家重点研发计划(2021YFC3340204);“一带一路”国际科学组织联盟联合研究合作专项计划(ANSO-CR-KP-2022-03)


Survey of Code Review Automation Research
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    随着现代软件规模的不断扩大,协作开发成为软件开发的主流趋势,代码审查成为了现代化软件开发的重要工作流程.但由于人工代码评审往往耗费审查者较大精力,且存在审查者不匹配或审查者水平有限等问题,人工代码评审的质量和效率难以保证,且审查后的代码修复也十分费时费力.因此亟需研究人员为代码审查流程进行改进,提供自动化思路.本文对代码审查自动化相关研究进行系统梳理和总结,并重点介绍4种主要方向:审查者推荐、代码变更质量评估、审查意见生成和代码自动修复.并整理了相关方向的148篇研究,对每个方向的研究进行技术分类与分析.随后,本文整理了各方向研究任务的评估方法,并整理出常用的数据集与开源工具.最后,对代码审查自动化领域面临的问题进行梳理,并对未来研究进行展望.

    Abstract:

    During software development, collaborative development has become the mainstream trend for large-scale software development, and code review has become an important workflow of it. However, there are some problems in manual code review such as reviewer mismatch and reviewer knowledge limitations, then the quality and efficiency of code review may be poor, and the code repair after review also takes time and effort for developers. It's urgently needed for researchers to improve the code review process and make it automated. This paper provides a systematic survey of research related to code review automation, and focuses on 4 main directions: reviewer recommendation, automated code quality estimation, review comment generation, and automated code refinement. We have collected 148 high-quality publications related to this topic, and carried out a technical classification and analysis in this research field. Then we briefly summarize the evaluation methods of each task in directions, and list some benchmarks and open-source tools. Finally, we propose the key challenges and insights for future research.

    参考文献
    相似文献
    引证文献
引用本文

花子涵,杨立,陆俊逸,左春.代码审查自动化研究综述.软件学报,2024,35(7):0

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-09-11
  • 最后修改日期:2023-10-30
  • 录用日期:
  • 在线发布日期: 2024-01-05
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号