Enhanced Code Generation from UML Composite State Machines

被引:0
|
作者
Badreddin, Omar [1 ]
Lethbridge, Timothy C. [1 ]
Forward, Andrew [1 ]
Elaasar, Maged [2 ]
Aljamaan, Hamoud [1 ]
Garzon, Miguel A. [1 ]
机构
[1] Univ Ottawa, Sch Elect Engn & Comp Sci, Ottawa, ON, Canada
[2] Carleton Univ, Dept Syst & Comp Engn, Ottawa, ON, Canada
来源
PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014) | 2014年
关键词
State Machine; Code Generation; Reverse Engineering; Model Oriented Programming; Model Driven Architecture; Model Driven Development; Umple;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
UML modelling tools provide poor support for composite state machine code generation. Generated code is typically complex and large, especially for composite state machines. Existing approaches either do not handle this case at all or handle it by flattening the composite state machine into a simple one with a combinatorial explosion of states, and excessive generated code. This paper presents a new approach that transforms a composite state machine into an equivalent set of simple state machines before code generation. This avoids the combinatorial explosion and leads to more concise and scalable generated code. We implement our approach in Umple. We report on a case study, comparing our approach to others in terms of code size and scalability.
引用
收藏
页码:235 / 245
页数:11
相关论文
共 50 条
  • [1] Solidity Code Generation From UML State Machines in Model-Driven Smart Contract Development
    Jurgelaitis, Mantas
    Ceponiene, Lina
    Butkiene, Rita
    IEEE ACCESS, 2022, 10 : 33465 - 33481
  • [2] Automatic Code Generation From UML State Chart Diagrams
    Sunitha, E., V
    Samuel, Philip
    IEEE ACCESS, 2019, 7 : 8591 - 8608
  • [3] Complete Code Generation from UML State Machine
    Van Cam Pham
    Radermacher, Ansgar
    Gerard, Sebastien
    Li, Shuai
    MODELSWARD: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2017, : 208 - 219
  • [4] Code Generation from UML Model: State of the Art and Practical Implications
    Bajovs, Andrejs
    Nikiforova, Oksana
    Sejans, Janis
    APPLIED COMPUTER SYSTEMS, 2013, 14 (01) : 9 - 18
  • [5] Consistent code generation from UML models
    Long, Q
    Liu, ZM
    Li, XS
    He, JF
    2005 Australian Software Engineering Conference, Proceedings, 2005, : 23 - 30
  • [6] Realization of UML Class and State Machine Models in the C# Code Generation and Execution Framework
    Derezinska, Anna
    Pilitowski, Romuald
    INFORMATICA-JOURNAL OF COMPUTING AND INFORMATICS, 2009, 33 (04): : 431 - 440
  • [7] UJECTOR: A tool for Executable Code Generation from UML Models
    Usman, Muhammad
    Nadeem, Aamer
    Kim, Tai-hoon
    PROCEEDINGS OF THE 2008 ADVANCED SOFTWARE ENGINEERING & ITS APPLICATIONS, 2008, : 165 - +
  • [8] Automated Code Generation for DES Controllers Modeled as Finite State Machines
    Possato, Tiago
    Valentini, Joao H.
    Southier, Luiz F. P.
    Teixeira, Marcelo
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2023, 2024, 14414 : 113 - 130
  • [9] From UML 2 Sequence Diagrams to State Machines by Graph Transformation
    Gronmo, Roy
    Moller-Pedersen, Birger
    JOURNAL OF OBJECT TECHNOLOGY, 2011, 10
  • [10] An Infrastructure for UML-Based Code Generation Tools
    Wehrmeister, Marco A.
    Freitas, Edison P.
    Pereira, Carlos E.
    ANALYSIS, ARCHITECTURES AND MODELLING OF EMBEDDED SYSTEMS, 2009, 310 : 32 - +