• Home
  • Search
  • Deep Just-In-Time Consistent Comment Update via Source Code Changes
  • Cite Icon3
  • https://doi.org/10.1109/paap56126.2022.10010469Copy DOI Icon

Deep Just-In-Time Consistent Comment Update via Source Code Changes

  • Nov 25, 2022
  • Shikai Guo +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

During software development and maintenance, code comments are often missing, inadequate, or they do not match the actual code content. In response to this problem, the research community has proposed a method for updating natural language comments based on code changes. However, there are two major limitations of this method that must be addressed: the long-term and non-temporal dependencies in the source code. To address these limitations, we propose a new model called code semantic learning–comment update (CSL2CU). The code semantic learning component of CSL2CU uses a self-attention mechanism and a positional encoding mechanism. It also uses a relative positional representation to model pairwise relationships between source code tags, thereby improving its ability to capture long-term dependencies and non-temporal dependencies of source code tagging ability. The comment-update component of CSL2CU is used to generate new comments based on old comments and code editing. The experimental results show that the CSL2CU model outperforms the three baselines used in exact match, BLEU, METEOR, and SARI.

Similar Papers
  • Research Article
  • Citations1

Improving Just-In-Time Comment Updating via AST Edit Sequence

  • Oct 01, 2022
  • International Journal of Software Engineering and Knowledge Engineering
  • Jiawen Huang +4
  • Conference Article
  • Citations22

A Survey on Research of Code Comment

  • Jan 12, 2019
  • Bai Yang +2
  • Conference Article
  • Citations29

Learning Semantic Features for Software Defect Prediction by Code Comments Embedding

  • Nov 01, 2018
  • Xuan Huo +3
  • Research Article

The Concept of Model-View-Controler (MVC) as Solution Software Development

  • May 03, 2010
  • CCIT Journal
  • Ermatita Ermatita +2
  • Conference Article
  • Citations120

How does regression test prioritization perform in real-world software evolution?

  • May 14, 2016
  • Yafeng Lu +6
  • Book Chapter
  • Citations17

Improving the Quality of Software by Quantifying the Code Change Metric and Predicting the Bugs

  • Jan 01, 2013
  • V B Singh +1
  • Research Article

Hybrid Attention Approach for Source Code Comment Generation

  • Jul 14, 2025
  • Information Technology and Control
  • Yao Meng
  • Conference Article
  • Citations1

Processing Large Datasets of Fined Grained Source Code Changes

  • Sep 01, 2019
  • Stanislav Levin +1
  • Research Article
  • Citations5

Towards exact and inexact approximate matching of executable binaries

  • Apr 01, 2019
  • Digital Investigation
  • Lorenz Liebler +1
  • Conference Article
  • Citations172

An empirical analysis of the distribution of unit test smells and their impact on software maintenance

  • Sep 01, 2012
  • Gabriele Bavota +4
  • Conference Article
  • Citations4

Tree-based Mining of Fine-grained Code Changes to Detect Unknown Change Patterns

  • Dec 01, 2021
  • Yoshiki Higo +2
  • Conference Article
  • Citations42

Codemotion

  • Jun 26, 2018
  • Kandarp Khandwala +1
  • Research Article
  • Citations94

Analyzing the co-evolution of comments and source code

  • Mar 26, 2009
  • Software Quality Journal
  • Beat Fluri +3
  • Conference Article
  • Citations1

ASKDetector: An AST-Semantic and Key Features Fusion based Code Comment Mismatch Detector

  • Apr 15, 2024
  • Haiyang Yang +4
  • Research Article
  • Citations148

Neural Network-based Detection of Self-Admitted Technical Debt

  • Jul 29, 2019
  • ACM Transactions on Software Engineering and Methodology
  • Xiaoxue Ren +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.