Write a Blog >>
ICPC 2022
Mon 16 - Tue 17 May 2022
co-located with ICSE 2022
Tue 17 May 2022 08:12 - 08:19 at ICPC room - Session 14: Documentation Chair(s): Fiorella Zampetti

When changing code, developers sometimes neglect updating the related comments, bringing inconsistent or outdated comments. These comments increase the cost of program understanding and greatly reduce software maintainability. Researchers have put forward some solutions, such as CUP and HEBCUP, which update comments efficiently for simple code changes (i.e. modifying of a single token), but not good enough for complex ones. In this paper, we propose an approach, named HatCUP (Hybrid Analysis and Attention based Comment UPdater), to provide a new mechanism for comment updating task. HatCUP pays attention to hybrid analysis and information. First, HatCUP considers the code structure change information and introduces a structure-guided attention mechanism combined with code change graph analysis and optimistic data flow dependency analysis. With a generally popular RNN-based encoder-decoder architecture, HatCUP takes the action of the code edits, the syntax, semantics and structure code changes, and old comments as inputs and generates a structural representation of the changes in the current code snippet. Furthermore, instead of directly generating new comments, HatCUP proposes a new edit or non-edit mechanism to mimic human editing behavior, by generating a sequence of edit actions and constructing a modified RNN model to integrate newly developed components. Evaluation on a popular dataset demonstrates that HatCUP outperforms the state-of-the-art deep learning-based approaches (CUP) by 53.8% for accuracy, 31.3% for recall and 14.3% for METEOR of the original metrics. Compared with the heuristic-based approach (HEBCUP), HatCUP also shows better overall performance.

Tue 17 May

Displayed time zone: Eastern Time (US & Canada) change

07:50 - 08:40
Session 14: DocumentationResearch / Early Research Achievements (ERA) / Tool Demonstration at ICPC room
Chair(s): Fiorella Zampetti University of Sannio, Italy
07:50
7m
Talk
Fine-Grained Code-Comment Semantic Interaction Analysis
Research
Mingyang Geng National University of Defense Technology, Shangwen Wang National University of Defense Technology, Dezun Dong NUDT, Shanzhi Gu Hunan Huishiwei Intelligent Technology Co., Ltd., Fang Peng University of Chinese Academy of Sciences, Weijian Ruan Shenzhen Institutes of Advanced Technology,Chinese Academy of Sciences, Liao Xiangke National University of Defense Technology
DOI Pre-print Media Attached
07:57
4m
Talk
Using Discord Conversations as Program Comprehension Aid
Early Research Achievements (ERA)
Marco Raglianti Software Institute - USI, Lugano, Csaba Nagy Software Institute - USI, Lugano, Roberto Minelli Software Institute - USI, Lugano, Michele Lanza Software Institute - USI, Lugano
Media Attached
08:01
7m
Talk
Demystifying Software Release Note Issues on GitHub
Research
Jianyu Wu Peking University, Hao He Peking University, Wenxin Xiao School of Computer Science, Peking University, Kai Gao University of Science and Technology Beijing, Minghui Zhou Peking University, China
Pre-print Media Attached
08:08
4m
Talk
A First Look at Duplicate and Near-duplicate Self-admitted Technical Debt Comments
Early Research Achievements (ERA)
Jerin Yasmin Queen's University, Canada, Mohammad Sadegh Sheikhaei Queen's University, Yuan Tian Queens University, Kingston, Canada
Pre-print Media Attached
08:12
7m
Talk
HatCUP: Hybrid Analysis and Attention based Just-In-Time Comment Updating
Research
Hongquan Zhu State Key Laboratory for Novel Software Technology, Nanjing University, Xincheng He State Key Laboratory for Novel Software Technology, Nanjing University, Lei Xu State Key Laboratory for Novel Software Technology, Nanjing University
DOI Pre-print Media Attached
08:19
4m
Talk
Casdoc: Unobtrusive Explanations in Code Examples
Tool Demonstration
Mathieu Nassif McGill University, Zara Horlacher McGill University, Martin P. Robillard McGill University
Pre-print Media Attached
08:23
17m
Live Q&A
Q&A-Paper Session 14
Research


Information for Participants
Tue 17 May 2022 07:50 - 08:40 at ICPC room - Session 14: Documentation Chair(s): Fiorella Zampetti
Info for room ICPC room:

Click here to go to the room on Midspace