期刊文献+

软件中代码注释质量问题研究综述 被引量:1

Survey on Quality of Software Code Comments
下载PDF
导出
摘要 代码注释作为辅助软件开发群体协作的关键机制,被开发者所广泛使用以提升开发效率.然而,由于代码注释并不直接影响软件运行,使其常被开发者忽视,导致出现代码注释质量问题,进而影响开发效率.代码注释中存在的质量问题会影响开发者理解相关代码,甚至可能产生误解从而引入代码缺陷,因此这一问题受到研究者的广泛关注.采用系统文献调研,对近年来国内外学者在代码注释质量问题上的研究工作进行系统的分析.从代码注释质量的评价维度、度量指标以及提升策略这3个方面总结研究现状,并提出当前研究所存在的不足、挑战及建议. As an essential mechanism of group collaboration in software development,code comments are widely used by developers to improve the efficiency of specific developing tasks.However,code comments do not directly affect the software operation,and developers often ignore them,which leads to poor quality of code comments and affects development efficiency.Quality issues of code comments hinder code understanding,bring misunderstanding,or even introduce bugs,which receive widespread attention from researchers.This study systematically analyzes the research work of global scholars on quality issues of code comments in recent years by literature review.It also summarizes related studies in three aspects:evaluation dimensions of code comment quality,indicators of code comment quality,and strategies to promote code comment quality and points out shortcomings,challenges,and suggestions for the current research.
作者 王潮 徐卫伟 周明辉 WANG Chao;XU Wei-Wei;ZHOU Ming-Hui(School of Computer Science,Peking University,Beijing 100871,China)
出处 《软件学报》 EI CSCD 北大核心 2024年第2期513-531,共19页 Journal of Software
基金 国家自然科学基金(61825201)。
关键词 代码注释 软件文档 自然语言处理 机器学习 code comment software documentation natural language processing machine learning
  • 相关文献

参考文献2

二级参考文献4

共引文献5

同被引文献4

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部