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 条
  • [41] DEFINITION OF A SEMANTIC PLATAFORM FOR AUTOMATED CODE GENERATION BASED ON UML CLASS DIAGRAMS AND DSL SEMANTIC ANNOTATIONS
    Muneton, Andres
    Zapata, Carlos
    [J]. DYNA-COLOMBIA, 2012, 79 (172): : 94 - 100
  • [42] Model-Driven Development of Single-Page Applications Using UML State Machines and Maude
    Mueller-Lobeck, Alexander
    Zhang, Gefei
    [J]. 2024 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2024, : 724 - 732
  • [43] Combined Modelling and Programming Support for Composite States and Extensible State Machines
    Andresen, Kjetil
    Moller-Pedersen, Birger
    Runde, Ragnhild Kobro
    [J]. MODELSWARD 2015 PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2015, : 231 - 238
  • [44] Parallel Code Generation from Synchronous Specification
    Hu K.
    Zhang T.
    Shang L.-H.
    Yang Z.-B.
    Talpin J.-P.
    [J]. Ruan Jian Xue Bao/Journal of Software, 2017, 28 (07): : 1698 - 1712
  • [45] Overview of Software Tools for Obtaining UML Class Diagrams and Sequence Diagrams from Source Code within TFM4MDA
    Ovchinnikova, Viktoria
    Asnina, Erika
    [J]. BALTIC JOURNAL OF MODERN COMPUTING, 2014, 2 (04): : 260 - 271
  • [46] Possibility of SystemC Code Generation from SDL Specification
    Morozkin, Pavel
    [J]. PROCEEDINGS OF THE 11TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION FRUCT, 2012, : 95 - 99
  • [47] Automated System for Code Generation from Unstructured Algorithm
    Soni, Naitik Chetan
    Pawar, Dhruv Ashok
    Tambe, Namita Sandeep
    Deolekar, Rugved Vivek
    [J]. PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1065 - 1070
  • [48] Verilog Code Generation Scheme from Signal Language
    Amjad, Hafiz Muhammad
    Niu, Jianwei
    Hu, Kai
    Akram, Naveed
    Besnard, Loic
    [J]. PROCEEDINGS OF 2019 16TH INTERNATIONAL BHURBAN CONFERENCE ON APPLIED SCIENCES AND TECHNOLOGY (IBCAST), 2019, : 457 - 462
  • [49] A New Code Generation Method for Software Engineering: From Requirements Model to Source Code
    Huang, Bo
    Fang, Zhijun
    Wu, Guoqing
    Sun, Xiankun
    Gao, Yongbin
    [J]. NEW TRENDS IN INTELLIGENT SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2017, 297 : 747 - 765
  • [50] Translator of hierarchical state machine from UML statechart to the event processor pattern
    Romaniuk, P.
    [J]. MIXDES 2007: Proceedings of the 14th International Conference on Mixed Design of Integrated Circuits and Systems:, 2007, : 684 - 687