首页> 外文会议>Asia-Pacific Software Engineering Conference >Detecting Program Changes from Edit History of Source Code
【24h】

Detecting Program Changes from Edit History of Source Code

机译:检测程序从源代码的编辑历史记录更改

获取原文

摘要

Detecting program changes helps maintainers to figure out the evolution of the changed program. For this, several line-based difference tools have been proposed, which extract differences between two versions of the program. Unfortunately, these tools do not provide enough support to program comprehension since a single commitment stored in a version control system contains multiple changes that are intermingled with each other. Therefore, the maintainers have to untangle them by hand. This work is troublesome and time-consuming. This paper proposes a novel mechanism that automatically detects individual program changes. For this, it restores snapshots of the program from the history of edit operations for the target source code and compares class members that result from syntax analysis for respective snapshots. In addition, the mechanism provides several options of aggregating fine-grained changes detected based on the edit history. The maintainers can select their suitable levels of summarization of program changes. The paper also shows experimental results with a running implementation of the change detection tool. Through the experiment, the detection mechanism presents various kinds of summarized information on program changes, which might facilitate maintainers' activities for program comprehension.
机译:检测程序变更有助于维护者弄清楚改变程序的演变。为此,已经提出了几种基于线的差异工具,其中提取了两个版本的程序之间的差异。遗憾的是,由于存储在版本控制系统中的单一承诺包含彼此混合的多个更改,因此这些工具不提供足够的支持程序理解。因此,维护者必须用手解开它们。这项工作很麻烦和耗时。本文提出了一种自动检测各个程序变化的新机制。为此,它可以从目标源代码的编辑操作历史中恢复程序的快照,并将来自语法分析的类成员进行比较各个快照。此外,该机制提供了几种基于编辑历史记录检测到的细粒度变化的若干选项。维护者可以选择他们合适的计划变化汇总水平。本文还显示了使用变化检测工具的运行实现的实验结果。通过实验,检测机制介绍了有关计划变化的各种总结信息,这可能会促进维护人员的计划理解活动。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号