基于神经网络的自动源代码摘要技术综述
作者:
作者单位:

作者简介:

宋晓涛(1969-), 女, 硕士, 讲师, CCF专业会员, 主要研究领域为智能软件开发.
孙海龙(1979-), 男, 博士, 教授, 博士生导师, CCF高级会员, 主要研究领域为群体智能,智能软件工程, 分布式系统.

通讯作者:

孙海龙,sunhl@buaa.edu.cn

中图分类号:

TP311

基金项目:

国家重点研发计划(2019YFB1705902); 国家自然科学基金(61972013, 61932007); 教育部产学合作协同育人项目(201901195001)


Survey on Neural Network-based Automatic Source Code Summarization Technologies
Author:
Affiliation:

Fund Project:

National Key Research and Development Program of China(2019YFB1705902); National Natural Science Foundation of China (61972013, 61932007)

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

    源代码的摘要可以帮助软件开发人员快速地理解代码, 帮助维护人员更快地完成维护任务. 但是, 手工编写摘要代价高、效率低, 因此人们试图利用计算机自动地为源代码生成摘要. 近年来, 基于神经网络的代码摘要技术成为自动源代码摘要研究的主流技术和软件工程领域的研究热点. 首先阐述了代码摘要的概念和自动代码摘要的定义, 回顾了自动代码摘要技术的发展历程, 并介绍了生成式摘要的质量评估方法和评估指标; 然后分析了神经代码摘要算法的通用结构、工作流程和面临的主要挑战; 给出了代表性算法的分类, 并对每类算法的设计原理、特点和限制条件进行了分析. 最后, 讨论并展望了未来神经代码摘要技术的发展趋势和研究方向.

    Abstract:

    Source code summaries can help software developers comprehend programs faster and better, and assist maintenance developers in accomplishing their tasks efficiently. Since writing summaries by programmers is of high cost and low efficiency, researchers have tried to summarize source code automatically. In recent years, the technologies of neural network-based automatic summarization of source code have become the mainstream techniques of automatic source code summarization, and it is a hot research topic in the domain of intelligent software engineering. Firstly, this paper describes the concept of source code summarization and the definition of automatic source code summarization, presents its development history, and reviews the methods and metrics of the quality evaluation of the generated summaries. Then, it analyzes the general framework and the main challenges of neural network-based automatic code summarization algorithms. In addition, it focuses on the classification of representative algorithms, the design principle, characteristics, and restrictions of each category of algorithms. Finally, it discusses and looks forward to the trends on techniques of neural network-based source code summarization in future.

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

宋晓涛,孙海龙.基于神经网络的自动源代码摘要技术综述.软件学报,2022,33(1):55-77

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

京公网安备 11040202500063号