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
关键词
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] Code generation and execution framework for UML 2.0 classes and state machines
    Pilitowski, Rormiald
    Derezifiska, Anna
    INNOVATIONS AND ADVANCED TECHNIQUES IN COMPUTER AND INFORMATION SCIENCES AND ENGINEERING, 2007, : 421 - 427
  • [2] 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
  • [3] 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
  • [4] Code Generation from UML Activity Diagrams: State of the Art
    Lopez Sanchez, Maximo
    Rodriguez Flores, Jazmin
    Idunate Rosales, Erick L.
    CISCI 2007: 6TA CONFERENCIA IBEROAMERICANA EN SISTEMAS, CIBERNETICA E INFORMATICA, MEMORIAS, VOL I, 2007, : 133 - 136
  • [5] Automatic Code Generation From UML State Chart Diagrams
    Sunitha, E., V
    Samuel, Philip
    IEEE ACCESS, 2019, 7 : 8591 - 8608
  • [6] Automatic Code Generation from Finite State Machines
    Rincon Nigro, Mario
    Aguilar Castro, Jose
    Hidrobo Torres, Francisco
    COMPUTACION Y SISTEMAS, 2011, 14 (04): : 405 - 421
  • [7] 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
  • [8] Code generation from UML models
    Frohner, Ákos
    Porkoláb, Zoltán
    Varga, László
    Periodica Polytechnica Electrical Engineering, 2000, 44 (02): : 141 - 157
  • [9] SystemC code generation from UML models
    Baresi, L
    Bruschi, F
    Di Nitto, E
    Sciuto, D
    SYSTEM SPECIFICATION AND DESIGN LANGUAGES: BEST OF FDL '02, 2003, : 161 - 171
  • [10] Consistent code generation from UML models
    Long, Q
    Liu, ZM
    Li, XS
    He, JF
    2005 Australian Software Engineering Conference, Proceedings, 2005, : 23 - 30