首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Demystifying Model Transformations: An Approach Based on Automated Rule Inference
【24h】

Demystifying Model Transformations: An Approach Based on Automated Rule Inference

机译:揭开模型转换的神秘面纱:基于自动规则推理的方法

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

摘要

Model-driven development (MDD) is widely used to develop modern business applications. MDD involves creating models at different levels of abstractions. Starting with models of domain concepts, these abstractions are successively refined, using transforms, to design-level models and, eventually, code-level artifacts. Although many tools exist that support transform creation and verification, tools that help users in understanding and using transforms are rare. In this paper, we present an approach for assisting users in understanding model transformations and debugging their input models. We use automated program-analysis techniques to analyze the transform code and compute constraints under which a transformation may fail or be incomplete. These code-level constraints are mapped to the input model elements to generate model-level rules. The rules can be used to validate whether an input model violates transform constraints, and to support general user queries about a transformation. We have implemented the analysis in a tool called XYLEM. We present empirical results, which indicate that (1) our approach can be effective in inferring useful rules, and (2) the rules let users efficiently diagnose a failing transformation without examining the transform source code.
机译:模型驱动开发(MDD)被广泛用于开发现代业务应用程序。 MDD涉及在不同抽象级别上创建模型。从领域概念的模型开始,使用转换对这些抽象进行逐步完善,以达到设计级别的模型,最终达到代码级别的构件。尽管存在许多支持转换创建和验证的工具,但是很少有能帮助用户理解和使用转换的工具。在本文中,我们提出了一种协助用户理解模型转换和调试其输入模型的方法。我们使用自动化程序分析技术来分析转换代码并计算转换可能失败或不完整的约束。这些代码级约束映射到输入模型元素以生成模型级规则。这些规则可用于验证输入模型是否违反转换约束,并支持有关转换的常规用户查询。我们已经在名为XYLEM的工具中实施了分析。我们提供了经验结果,这些结果表明(1)我们的方法可以有效地推导有用的规则,并且(2)这些规则使用户可以有效地诊断失败的转换而无需检查转换源代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号