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 条
  • [41] Generating the structural graph-based model from a program source-code using chaotic forrest optimization algorithm
    Arasteh, Bahman
    Ghanbarzadeh, Reza
    Gharehchopogh, Farhad Soleimanian
    Hosseinalipour, Ali
    EXPERT SYSTEMS, 2023, 40 (06)
  • [42] Generating Java']JavaScript from Perl - Simple run-time code generation improves web-based UIs
    Jenkins, SB
    DR DOBBS JOURNAL, 2002, 27 (05): : 59 - 63
  • [43] An FPGA-based approach to the automatic generation of VHDL code for industrial control systems applications: A case study of MSOGIs implementation
    Martin, P.
    Bueno, E.
    Rodriguez, Fco. J.
    Machado, O.
    Vuksanovic, B.
    MATHEMATICS AND COMPUTERS IN SIMULATION, 2013, 91 : 178 - 192
  • [44] Software Implementation of a Code-Based Key Encapsulation Mechanism from Binary QD Generalized Srivastava Codes
    Seck, Boly
    Gueye, Cheikh Thiecoumba
    Dione, Gilbert Ndollane
    Klamti, Jean Belo
    Cayrel, Pierre-Louis
    Diop, Idy
    Ndiaye, Ousmane
    CODE-BASED CRYPTOGRAPHY, CBCRYPTO 2022, 2023, 13839 : 77 - 89
  • [45] A Learning-Based Approach for Automatic Construction of Domain Glossary from Source Code and Documentation
    Wang, Chong
    Peng, Xin
    Liu, Mingwei
    Xing, Zhenchang
    Bai, Xuefang
    Xie, Bing
    Wang, Tuo
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 97 - 108
  • [46] From Requirements to Code: A Conceptual Model-based Approach for Automating the Software Production Process
    Pastor, Oscar
    Ruiz, Marcela
    ENTERPRISE MODELLING AND INFORMATION SYSTEMS ARCHITECTURES-AN INTERNATIONAL JOURNAL, 2018, 13 : 274 - 280
  • [47] A rule-based approach for generating urban footprint maps: from road network to urban footprint
    Hacar, Muslum
    INTERNATIONAL JOURNAL OF ENGINEERING AND GEOSCIENCES, 2020, 5 (02): : 100 - 108
  • [48] Implementation of a Primary Care-Based, Interdisciplinary Approach: Insights from the Interdisciplinary Team
    Benes, Lindsay Lancaster
    PAIN MANAGEMENT NURSING, 2018, 19 (02) : 94 - 95
  • [49] HF propagation in a complex maritime environments from an asymptotic approach validated from a based-MoM rigorous code
    Bourlier, C.
    Kubicke, G.
    Pouliguen, P.
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON ELECTROMAGNETICS IN ADVANCED APPLICATIONS (ICEAA), 2015, : 440 - 443
  • [50] From Code to EM Signals: A Generative Approach to Side Channel Analysis-based Anomaly Detection
    Vedros, Kurt A.
    Kolias, Constantinos
    Barbara, Daniel
    Ivans, Robert C.
    19TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY, AND SECURITY, ARES 2024, 2024,