Practitioners' Expectations on Automated Code Comment Generation
Xing Hu,Xin Xia,David Lo,Zhiyuan Wan,Qiuyuan Chen,Thomas Zimmermann +5 more
- 01 May 2022
pp 1693-1705
41
TL;DR: What practitioners need and the current state-of-the-art research in comment generation are compared by performing a literature review of papers on code comment generation techniques pub-lished in the premier publication venues from 2010 to 2020 and highlighting the directions where researchers need to put effort.
read more
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 au-tomatically 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 pub-lished 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.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Peer Review
Communicative Agents for Software Development
Chen Qian,Cheng Yang,Weize Chen,Yusheng Su,Zhiyuan Liu,Maosong Sun +5 more
- 16 Jul 2023
TL;DR: ChatDev as mentioned in this paper is a virtual chat-powered software development company that mirrors the established waterfall model, meticulously dividing the development process into four distinct chronological stages: designing, coding, testing, and documenting.
154
An Empirical Study on Software Bill of Materials: Where We Stand and the Road Ahead
Boming Xia,Tingting Bi,Zhenchang Xing,Qinghua Lu,Liming Zhu +4 more
- 01 May 2023
TL;DR: An empirical study on software bill of materials (SBOM) perceptions and challenges. SBOMs are crucial for software supply chain security. The study investigates practitioner perceptions and challenges of adopting SBOMs and identifies future directions.
Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmaps
TL;DR: The ultimate aspiration is to position AI4SE as a linchpin in redefining the horizons of software engineering, propelling us toward Software Engineering 2.0.
A Closer Look at Different Difficulty Levels Code Generation Abilities of ChatGPT
Dapeng Yan,Zhipeng Gao,Zhiming Liu +2 more
- 11 Sep 2023
TL;DR: This study conducts the first large empirical study to investigate the zero-shot learning ability of ChatGPT for solving competition programming problems, and investigates the solutions generated by LLMs and the existing solutions.
11
How Practitioners Expect Code Completion?
Chaozheng Wang,Junhao Hu,Cuiyun Gao,Yu Jin,Tao Xie,Hailiang Huang,Zhenyu Lei,Yuetang Deng +7 more
- 30 Nov 2023
TL;DR: A literature review of papers on code completion published in major publication venues from 2012 to 2022 highlights the directions desirable for researchers to invest efforts toward developing code completion techniques for meeting practitioner expectations.
9
References
Bleu: a Method for Automatic Evaluation of Machine Translation
Kishore Papineni,Salim Roukos,Todd Ward,Wei-Jing Zhu +3 more
- 06 Jul 2002
TL;DR: This paper proposed a method of automatic machine translation evaluation that is quick, inexpensive, and language-independent, that correlates highly with human evaluation, and that has little marginal cost per run.
•Proceedings Article
ROUGE: A Package for Automatic Evaluation of Summaries
Chin-Yew Lin
- 25 Jul 2004
TL;DR: Four different RouGE measures are introduced: ROUGE-N, ROUge-L, R OUGE-W, and ROUAGE-S included in the Rouge summarization evaluation package and their evaluations.
•Proceedings Article
METEOR: An Automatic Metric for MT Evaluation with Improved Correlation with Human Judgments
Satanjeev Banerjee,Alon Lavie +1 more
- 01 Jun 2005
TL;DR: METEOR is described, an automatic metric for machine translation evaluation that is based on a generalized concept of unigram matching between the machineproduced translation and human-produced reference translations and can be easily extended to include more advanced matching strategies.
•Proceedings Article
Proceedings of the 40th Annual Meeting on Association for Computational Linguistics
Pierre Isabelle
- 06 Jul 2002
TL;DR: This year's meeting is special: it is the first ACL meeting to be hosted jointly with the authors' North-American chapter, the NAACL, and it is also the ACL's 40th anniversary meeting, with a main conference program covering most active research areas in computational linguistics.
1.4K
Summarizing Source Code using a Neural Attention Model
Srinivasan Iyer,Ioannis Konstas,Alvin Cheung,Luke Zettlemoyer +3 more
- 01 Aug 2016
TL;DR: This paper presents the first completely datadriven approach for generating high level summaries of source code, which uses Long Short Term Memory (LSTM) networks with attention to produce sentences that describe C# code snippets and SQL queries.