Source Code Changes Just-in-Time Update via Code Semantics

To tackle the trouble of incomplete, insufficient, or misaligned code comments during software development and maintenance, various techniques are emerged to modify the comments of plain language in accordance with code alterations. However, these methods have two significant limitations: addressing the source code involving non-temporal and long-rang dependencies poses challenges. With the aim of surpassing these restrictions, we present a novel approach named Code Comment Update (CCU) model, which incorporates self-attention, positional encoding, and relative positional representation to effectively capture the relationships between different source code tags. This allows it to effectively grasp extended and non-temporal interdependencies within the source code. The comment-update module of CCU produces fresh comments by harnessing the power of existing code alterations and comments. The results of Experiment demonstrate that CCU outperforms the three baseline methods in terms of metrics such as exact match, METEOR, BLEU, and SARI.

Authors

Institutions

Publication Details

Published
2024-12-06
DOI
https://doi.org/10.1109/icist63249.2024.10805465
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Source Code Changes Just-in-Time Update via Code Semantics

Li‐Ying Hao, Shikai Guo, Hui Li, Lingxiao Zhao et al.
Distributed and Parallel Computing Systems
article

Source Code Changes Just-in-Time Update via Code Semantics

Li‐Ying Hao, Shikai Guo, Hui Li, Lingxiao Zhao, Zhao We
article en

Abstract

To tackle the trouble of incomplete, insufficient, or misaligned code comments during software development and maintenance, various techniques are emerged to modify the comments of plain language in accordance with code alterations. However, these methods have two significant limitations: addressing the source code involving non-temporal and long-rang dependencies poses challenges. With the aim of surpassing these restrictions, we present a novel approach named Code Comment Update (CCU) model, which incorporates self-attention, positional encoding, and relative positional representation to effectively capture the relationships between different source code tags. This allows it to effectively grasp extended and non-temporal interdependencies within the source code. The comment-update module of CCU produces fresh comments by harnessing the power of existing code alterations and comments. The results of Experiment demonstrate that CCU outperforms the three baseline methods in terms of metrics such as exact match, METEOR, BLEU, and SARI.

Dalian Maritime University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 72%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Source Code Changes Just-in-Time Update via Code Semantics — Li‐Ying Hao, Shikai Guo, et al. · (2024) | TGRS Research Map | TGRS