Towards refactoring of rule-based, in-place model transformation systems

Towards refactoring of rule-based, in-place model transformation systems
复制标题

重构基于规则的就地模型转换系统

DOI:
--
复制
发表时间:
2012
期刊:
Active Media Technology
影响因子:
--
通讯作者:
R. Heckel
R. Heckel
中科院分区:
--
文献类型:
--
作者:
G. Taentzer;T. Arendt;C. Ermel;R. Heckel

文献摘要

被引文献

相似文献

模型转换在各个应用领域的应用越多,其质量问题就越多。在本文中,我们提出了一种改进内生就地模型转换系统质量的第一种方法。这种模型转换通常是基于规则的,非常适合执行模型模拟和优化。在讨论了这类模型转换系统适合的质量目标以及如何通过气味检测它们之后,提出了重构的第一选择,展示了模型转换系统的各种潜在改进。每个重构都以系统的方式呈现,包括解释如何提高质量、对其前置条件和后置条件的描述、可能的重构策略和一个示例。所有讨论的重构都是在Henshin中实现的,Henshin是一个基于图转换概念的模型转换引擎,将Henshin与用于定义和应用EMF模型重构的重构插件Eclipse插件EMF Refaction结合使用。
The more model transformations are applied in various application domains, the more questions about their quality arise. In this paper, we present a first approach towards improving the quality of endogenous in-place model transformation systems. This kind of model transformations is typically rule-based and well suited to perform model simulations and optimizations. After discussing suitable quality aims for this kind of model transformation systems and how they can be detected by smells, a first selection of refactorings is presented showing a variety of potential improvements of model transformation systems. Each refactoring is presented in a systematic way including an explanation how the quality is improved, a description of its pre- and post-conditions, a possible refactoring strategy, and an example. All discussed refactorings are implemented in Henshin, a model transformation engine based on graph transformation concepts, using Henshin in combination with the Eclipse plug-in EMF Refactor, a refactoring plug-in for defining and applying refactorings of EMF models.