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 条
  • [31] An AST Structure Enhanced Decoder for Code Generation
    Jiang, Hui
    Song, Linfeng
    Ge, Yubin
    Meng, Fandong
    Yao, Junfeng
    Su, Jinsong
    IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2022, 30 : 468 - 476
  • [32] Code Generation from Supervised Code Embeddings
    Hu, Han
    Chen, Qiuyuan
    Liu, Zhaoyi
    NEURAL INFORMATION PROCESSING (ICONIP 2019), PT IV, 2019, 1142 : 388 - 396
  • [33] Mapping the UML2 Semantics of Associations to a Java']Java Code Generation Model
    Gessenharter, Dominik
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2008, 5301 : 813 - 827
  • [34] Model-Driven Software Development Combined with Semantic Mutation of UML State Machines
    Derezinska, Anna
    Zaremba, Lukasz
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2020, 1172 : 204 - 226
  • [35] Generation of Synchronizing State Machines from a Transition System: A Region-Based Approach
    Teren, Viktor
    Cortadella, Jordi
    Villa, Tiziano
    INTERNATIONAL JOURNAL OF APPLIED MATHEMATICS AND COMPUTER SCIENCE, 2023, 33 (01) : 133 - 149
  • [36] A Novel R-UML-B Approach for Modeling and Code Generation of Reconfigurable Control Systems
    Oueslati, Raja
    Mosbahi, Olfa
    Khalgui, Mohamed
    Ben Ahmed, Samir
    ENASE: PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL SOFTWARE APPROACHES TO SOFTWARE ENGINEERING, 2016, : 140 - 147
  • [37] From MDA platform-speciflic model to code generation: Coupling of RM-ODP and UML action semantics standards
    Bendraou, R
    Bouzitouna, S
    Gervais, MP
    SERP'04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2004, : 407 - 413
  • [38] Reverse engineering concurrent UML state machines using black box testing and genetic programming
    Drusinsky D.
    Innovations in Systems and Software Engineering, 2017, 13 (2-3) : 117 - 128
  • [39] From Institutions to Code: Towards Automated Generation of Smart Contracts
    Frantz, Christopher K.
    Nowostawski, Mariusz
    2016 IEEE 1ST INTERNATIONAL WORKSHOPS ON FOUNDATIONS AND APPLICATIONS OF SELF* SYSTEMS (FAS*W), 2016, : 210 - 215
  • [40] Code Generation for UML 2 Activity Diagrams Towards a Comprehensive Model-Driven Development Approach
    Gessenharter, Dominik
    Rauscher, Martin
    MODELLING FOUNDATIONS AND APPLICATIONS, 2011, 6698 : 205 - 220