Practitioners' expectations on automated code comment generation

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...

Full description

Saved in:
Bibliographic Details
Main Authors: HU, Xing, XIA, Xin, LO, David, WAN, Zhiyuan, CHEN, Qiuyuan, ZIMMERMANN, Thomas
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2022
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/7687
https://ink.library.smu.edu.sg/context/sis_research/article/8690/viewcontent/Practitioner.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-8690
record_format dspace
spelling sg-smu-ink.sis_research-86902023-01-10T03:16:34Z Practitioners' expectations on automated code comment generation HU, Xing XIA, Xin LO, David WAN, Zhiyuan CHEN, Qiuyuan ZIMMERMANN, Thomas 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. 2022-05-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7687 info:doi/10.1145/3510003.3510152 https://ink.library.smu.edu.sg/context/sis_research/article/8690/viewcontent/Practitioner.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Code comment generation Empirical study Practitioners’ expectations Databases and Information Systems
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Code comment generation
Empirical study
Practitioners’ expectations
Databases and Information Systems
spellingShingle Code comment generation
Empirical study
Practitioners’ expectations
Databases and Information Systems
HU, Xing
XIA, Xin
LO, David
WAN, Zhiyuan
CHEN, Qiuyuan
ZIMMERMANN, Thomas
Practitioners' expectations on automated code comment generation
description 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.
format text
author HU, Xing
XIA, Xin
LO, David
WAN, Zhiyuan
CHEN, Qiuyuan
ZIMMERMANN, Thomas
author_facet HU, Xing
XIA, Xin
LO, David
WAN, Zhiyuan
CHEN, Qiuyuan
ZIMMERMANN, Thomas
author_sort HU, Xing
title Practitioners' expectations on automated code comment generation
title_short Practitioners' expectations on automated code comment generation
title_full Practitioners' expectations on automated code comment generation
title_fullStr Practitioners' expectations on automated code comment generation
title_full_unstemmed Practitioners' expectations on automated code comment generation
title_sort practitioners' expectations on automated code comment generation
publisher Institutional Knowledge at Singapore Management University
publishDate 2022
url https://ink.library.smu.edu.sg/sis_research/7687
https://ink.library.smu.edu.sg/context/sis_research/article/8690/viewcontent/Practitioner.pdf
_version_ 1770576414238572544