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