Generating Assertion Code from OCL: A Transformational Approach Based on Similarities of Implementation Languages

被引:0
|
作者
Moiseev, Rodion [1 ]
Hayashi, Shinpei [1 ]
Saeki, Motoshi [1 ]
机构
[1] Tokyo Inst Technol, Dept Comp Sci, Meguro Ku, Tokyo 1528552, Japan
关键词
OCL; constraints; assertion code; programming languages;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Object Constraint Language (OCL) carries a platform independent characteristic allowing it to be decoupled from implementation details, and therefore it is widely applied in model transformations used by model-driven development techniques. However, OCL call he found tremendously useful in the implementation phase aiding assertion code generation and allowing system verification. Yet, taking full advantage of OCL without destroying its platform independence is a difficult task. This paper proposes an approach for generating assertion code front OCL constraints by using a model transformation technique to abstract language specific details away from OCL high-level concepts, showing wide applicability of model transformation techniques. We take advantage of structural similarities of implementation to describe a rewriting framework. which is used to easily and flexibly reformulate OCL constraints into ally target language, making them executable oil any platform. A tool is implemented to demonstrate the effectiveness of this approach.
引用
收藏
页码:650 / 664
页数:15
相关论文
共 50 条
  • [1] Using Hierarchical Transformation to Generate Assertion Code from OCL Constraints
    Moiseev, Rodion
    Hayashi, Shinpei
    Saeki, Motoshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2011, E94D (03): : 612 - 621
  • [2] Formal Approach to Assertion-Based Code Generation
    Li, Pengyi
    Sun, Jing
    Wang, Hai
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2017, 27 (9-10) : 1637 - 1662
  • [3] A transformational approach to object-based concurrent reflective languages
    Turner, SJ
    Yaacob, N
    INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-III, PROCEEDINGS, 1997, : 226 - 234
  • [4] From Requirements to Code (Re2Code) - A Model-Based Approach for Controller Implementation
    Brito, Isabel Sofia
    Barros, Joao Paulo
    Gomes, Luis
    2016 IEEE 14TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2016, : 1224 - 1230
  • [5] A Model Driven Approach for Generating Code From Security Requirements
    Sanchez, Oscar
    Molina, Fernando
    Garcia Molina, Jesus
    Toval, Ambrosio
    SECURITY IN INFORMATION SYSTEMS, PROCEEDINGS, 2009, : 119 - 126
  • [6] Generating stream based code from plain C
    Beemster, M
    van Someren, H
    Fitzpatrick, L
    van Royen, R
    EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING, AND SIMULATION, 2005, 3553 : 232 - 241
  • [7] AUTOMATIC PROTOCOL IMPLEMENTATION - GENERATING C(++) CODE FROM SDL/PR SPECIFICATIONS
    ADAMIS, G
    MICROPROCESSING AND MICROPROGRAMMING, 1994, 40 (10-12): : 719 - 722
  • [8] Generating code from hierarchical state-based requirements
    Heimdahl, MPE
    Keenan, DJ
    RE '97 - PROCEEDINGS OF THE THIRD IEEE INTERNATIONAL SYMPOSIUM ON REQUIREMENTS ENGINEERING, 1997, : 210 - 219
  • [9] Applying Patterns when Generating Code: a Model-based Design Approach
    Kuehn, Mathias
    PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON MULTIMEDIA, INTERACTION, DESIGN AND INNOVATION, 2015,
  • [10] New Approach To Software Code Diversification In Interpreted Languages Based On The Moving Target Technology
    Styugin, Mikhail
    Zolotarev, Vyacheslav
    Prokhorov, Anton
    Gorbil, Roman
    2016 IEEE 10TH INTERNATIONAL CONFERENCE ON APPLICATION OF INFORMATION AND COMMUNICATION TECHNOLOGIES (AICT), 2016, : 244 - 248