paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Practitioners' expectations on automated code comment generation

从业者对自动化代码注释生成的期望
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 2/10 · 该论文研究自动代码注释生成的从业者期望与研究现状对比,属于软件工程/开发者工具方向,与静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等核心方向几乎没有直接交集。虽涉及工业实践与问题驱动调研,但与用户研究画像的匹配度很低。引用 55 inbox
Xing Hu, Xin Xia, David Lo, Zhiyuan Wan, Qiuyuan Chen, Thomas Zimmermann
crossref: 2026-09-12

AI 速览

一句话:通过访谈与问卷调研从业者对自动注释生成的期望,并与 2010–2020 年顶会研究现状对比,指出研究应努力的方向。

良好的注释是软件项目的重要资产,可帮助开发者理解与维护代码;但实践中注释常缺失或与源码不一致,开发者不得不花费大量时间阅读缺乏注释的程序。近年来研究者提出多种自动生成代码注释的技术,然而这些技术能否真正缓解注释问题、从业者是否认可这条研究路线仍不明确。为填补这一空白,本文开展了一项实证研究:通过访谈与问卷调查收集从业者对代码注释生成研究的期望,同时对 2010 至 2020 年间发表于顶级会议与期刊的代码注释生成技术论文进行文献综述,并将从业者的实际需求与当前研究现状进行系统对比。基于该对比,作者指出了研究者需要重点投入、以开发出真正对从业者有价值的注释生成技术的方向。

问题
自动代码注释生成技术层出不穷,但其能否缓解实际注释问题、是否符合从业者的真实期望尚不清楚。
方法
对从业者进行访谈与问卷调查以获取其期望,并对 2010–2020 年顶级会议与期刊上的代码注释生成论文做文献综述,将二者进行对比。
评估
通过从业者调研结果与文献综述所得研究现状的对照分析,识别出研究与实践需求之间的差距及未来应投入的方向。
原文摘要(Abstract)

Good comments are invaluable assets to software projects, as they help developers understand and maintain projects. However, due to some poor commenting practices, comments are often missing or inconsistent with the source code. Software engineering practitioners often spend a significant amount of time and effort reading and understanding programs without or with poor comments. To counter this, researchers have proposed various techniques to automatically generate code comments in recent years, which can not only save developers time writing comments but also help them better understand existing software projects. However, it is unclear whether these techniques can alleviate comment issues and whether practitioners appreciate this line of research. To fill this gap, we performed an empirical study by interviewing and surveying practitioners about their expectations of research in code comment generation. We then compared what practitioners need and the current state-of-the-art research by performing a literature review of papers on code comment generation techniques published in the premier publication venues from 2010 to 2020. From this comparison, we highlighted the directions where researchers need to put effort to develop comment generation techniques that matter to practitioners.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6903,
  title = {Practitioners' expectations on automated code comment generation},
  author = {Xing Hu and Xin Xia and David Lo and Zhiyuan Wan and Qiuyuan Chen and Thomas Zimmermann},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510152}
}