首页> 外文会议>Software Clones (IWSC), 2012 6th International Workshop on >Safe clone-based refactoring through stereotype identification and iso-generation
【24h】

Safe clone-based refactoring through stereotype identification and iso-generation

机译:通过原型识别和异构生成,基于克隆的安全重构

获取原文
获取原文并翻译 | 示例

摘要

Most advanced existing tools for clone-based refactoring propose a limited number of predefined clone-removal transformations that can be applied automatically, typically under user control. This fixed set of refactorings usually guarantee that semantics is preserved, but is inherently limited to generally-applicable transformations (extract method, pull-up method, etc.). This tool design rules out many potential domain-specific or application-specific clone removals. Such cases are ordinarily recognized by humans as stereotypes derived from a higher-level concept and manually replaced with an appropriate abstraction. Thus, in current tools, generality is sacrificed for the safety of the transformation. This paper proposes an alternative approach, in which the spectrum of refactoring techniques is open, including manual interventions, while keeping strong safety guarantees based on the notion of iso-generation. Our method can operate on multiple languages and has been prototyped on a subset of a real-world legacy asset containing C and COBOL programs, with promising results.
机译:现有的用于基于克隆的重构的最先进的现有工具提出了数量有限的预定义克隆删除转换,这些转换通常可以在用户控制下自动应用。这种固定的重构集通常可以保证保留语义,但是固有地限于一般适用的转换(提取方法,上拉方法等)。此工具设计排除了许多潜在的特定于域或特定于应用程序的克隆删除。此类情况通常被人类识别为源自更高级别概念的刻板印象,并被适当的抽象人工取代。因此,在当前工具中,牺牲通用性是为了确保转换的安全性。本文提出了一种替代方法,在这种方法中,重构技术的范围是开放的,包括手动干预,同时基于异构生成的概念保持强大的安全保证。我们的方法可以在多种语言上运行,并且已在包含C和COBOL程序的真实世界遗留资产的子集上原型化,并取得了可喜的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号