paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ClDiff: generating concise linked code differences

ClDiff:生成简洁的链接式代码差异
ASE Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering2018匹配度 2/10 · 论文聚焦代码变更差异生成与代码变更理解,属于软件维护与开发者工具方向,未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心研究问题。虽然与程序分析有微弱关联,但既不涉及理论形式化,也没有 LLM/Agent 或 benchmark 失效分析,因此匹配度很低。引用 61 inbox
Kaifeng Huang, Bihuan Chen, Xin Peng, Daihong Zhou, Ying Wang, Yang Liu, Wenyun Zhao
crossref: 2026-09-12

AI 速览

一句话:提出 ClDiff,将相关代码变更链接并生成简洁的链接式代码差异,以更好支持代码变更理解。

论文关注软件维护中源代码变更的分析与理解。现有代码差分方法生成的表示过细,代码变更摘要方法生成的表示过粗,且二者均未考虑代码变更之间的关系,导致在代码评审、软件合并等任务中难以有效理解变更。为此,作者提出 ClDiff,旨在生成简洁且链接的代码差异,将相关变更关联起来,以在细粒度差异与粗粒度摘要之间取得平衡。摘要未给出具体实现细节与实验评估,但其目标是为代码变更分析提供更易理解的表示。

问题
现有代码差分方法表示过细,摘要方法表示过粗,并且不考虑代码变更之间的关系,使代码评审和软件合并等任务中的变更理解变得困难。
方法
提出 ClDiff,通过将相关代码变更链接起来,生成简洁的链接式代码差异,以在过细差异与过粗摘要之间提供更易理解的变更表示。
评估
给出的摘要未说明具体评估方式。
原文摘要(Abstract)

Analyzing and understanding source code changes is important in a variety of software maintenance tasks. To this end, many code differencing and code change summarization methods have been proposed. For some tasks (e.g. code review and software merging), however, those differencing methods generate too fine-grained a representation of code changes, and those summarization methods generate too coarse-grained a representation of code changes. Moreover, they do not consider the relationships among code changes. Therefore, the generated differences or summaries make it not easy to analyze and understand code changes in some software maintenance tasks.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4802,
  title = {ClDiff: generating concise linked code differences},
  author = {Kaifeng Huang and Bihuan Chen and Xin Peng and Daihong Zhou and Ying Wang and Yang Liu and Wenyun Zhao},
  booktitle = {ASE},
  year = {2018},
  doi = {10.1145/3238147.3238219}
}