首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >Specifying and detecting meaningful changes in programs
【24h】

Specifying and detecting meaningful changes in programs

机译:指定和检测程序的有意义变化

获取原文

摘要

Software developers are often interested in particular changes in programs that are relevant to their current tasks: not all changes to evolving software are equally important. However, most existing differencing tools, such as diff, notify developers of more changes than they wish to see. In this paper, we propose a technique to specify and automatically detect only those changes in programs deemed meaningful, or relevant, to a particular development task. Using four elementary annotations on the grammar of any programming language, namely Ignore, Order, Prefer and Scope, developers can specify, with limited effort, the type of change they wish to detect. Our algorithms use these annotations to transform the input programs into a normalised form, and to remove clones across different normalised programs in order to detect non-trivial and relevant differences. We evaluate our tool on a benchmark of programs to demonstrate its improved precision compared to other differencing approaches.
机译:软件开发人员经常对与当前任务相关的程序的特殊更改感兴趣:并非所有对不断变化的软件的更改都同样重要。但是,大多数现有的差分工具,例如差异,通知开发人员比他们希望看到的更多变化。在本文中,我们提出了一种技术来指定和自动检测到特定的开发任务所视为有意义或相关的程序中的那些变化。在任何编程语言的语法上使用四个基本注释,即忽略,订单,更喜欢和范围,开发人员可以使用有限的努力来指定他们希望检测的更改类型。我们的算法使用这些注释将输入程序转换为归一化形式,并删除不同规范化程序的克隆,以检测非琐碎和相关的差异。我们在计划的基准中评估我们的工具,以证明与其他差分方法相比提高了其改进的精确度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号