mlsanityData to 7 Oct 2026

Deep Just-In-Time Inconsistency Detection Between Comments and Source Code

arXiv 2010.01625 ↗First posted 4 Oct 2020cs.SE cs.AI cs.CLcited by 20

Not on the map. Why?

Abstract (arXiv)

Natural language comments convey key aspects of source code such as implementation, usage, and pre- and post-conditions. Failure to update comments accordingly when the corresponding code is modified introduces inconsistencies, which is known to lead to confusion and software bugs. In this paper, we aim to detect whether a comment becomes inconsistent as a result of changes to the corresponding body of code, in order to catch potential inconsistencies just-in-time, i.e., before they are committed to a code base. To achieve this, we develop a deep-learning approach that learns to correlate a comment with code changes. By evaluating on a large corpus of comment/code pairs spanning various comment types, we show that our model outperforms multiple baselines by significant margins. For extrinsic evaluation, we show the usefulness of our approach by combining it with a comment update model to build a more comprehensive automatic comment maintenance system which can both detect and resolve inconsistent comments based on code changes.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 2; 2023: 5; 2024: 1; 2025: 3; 2026: 6.

20 papers.

Sort:

By area:

  1. 2021Program Synthesis with Large Language Modelscited by 3,509
  2. 2021On the Evaluation of Neural Code Summarizationcited by 47
  3. 2022CoditT5: Pretraining for Source Code and Natural Language Editingcited by 45
  4. 2024CodeAgent: Autonomous Communicative Agents for Code Reviewcited by 33
  5. 2023Learning Deep Semantics for Test Completioncited by 31
  6. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  7. 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaborationcited by 21
  8. 2025Every Sample Matters: Leveraging Mixture-of-Experts and High-Quality Data for Efficient and Accurate Code LLMcited by 13
  9. 2021Impact of Evaluation Methodologies on Code Summarizationcited by 11
  10. 2026SciCoQA: Quality Assurance for Scientific Paper--Code Alignmentcited by 9
  11. 2022Code Comment Inconsistency Detection with BERT and Longformercited by 6
  12. 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Taskscited by 6
8 more
  1. 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Backcited by 3
  2. 2023DocChecker: Bootstrapping Code Large Language Model for Detecting and Resolving Code-Comment Inconsistenciescited by 3
  3. 2026Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Codingcited by 2
  4. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
  5. 2025CodeFuse-CommitEval: Towards Benchmarking LLM's Power on Commit Message and Code Change Inconsistency Detectioncited by 1
  6. 2026Do Papers Tell the Whole Story? A Benchmark and Framework for Uncovering Hidden Implementation Gaps in Bioinformaticscited by 1
  7. 2026SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignmentcited by 0
  8. 2026Dude: A Dual-Detection Multi-Agent System for Paper-Code Discrepancy Detectioncited by 0