首页> 外文会议>IFIP WG 6.1 international conference on testing software and systems >Validation of Transformation from Abstract State Machine Models to C++ Code
【24h】

Validation of Transformation from Abstract State Machine Models to C++ Code

机译:从抽象状态机模型到C ++代码的转换的验证

获取原文

摘要

The automatic transformation of models to code is one of the most important cornerstones in the model-driven engineering paradigm. Starting from system models, users are able to automatically generate machine code in a seamless manner with an assurance of potential bug freeness of the generated code. Asm2C++ [4] is the tool that transforms Abstract State Machine models to С++ code. However, no validation activities have been performed in the past to guarantee the correctness of the transformation process. In this paper, we define a mechanism to test the correctness of the model-to-code transformation with respect to two main criteria: syntactical correctness and semantic correctness, which is based on the definition of conformance between the specification and the code. Using this approach, we have devised a process able to test the generated code by reusing unit tests. Coverage measures give a user the confidence that the generated code has the same behavior as specified by the ASM model.
机译:将模型自动转换为代码是模型驱动的工程范式中最重要的基石之一。从系统模型开始,用户能够以一种无缝的方式自动生成机器代码,并保证了所生成代码的潜在错误。 Asm2C ++ [4]是将抽象状态机模型转换为С++代码的工具。但是,过去没有执行任何验证活动来保证转换过程的正确性。在本文中,我们定义了一种机制,以规范和代码之间一致性的定义为基础,针对两种主要标准来测试模型到代码转换的正确性:语法正确性和语义正确性。使用这种方法,我们设计了一种能够通过重用单元测试来测试生成的代码的过程。覆盖率度量使用户确信所生成的代码具有与ASM模型指定的行为相同的行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号