Automatic Code Generation From UML State Chart Diagrams

被引:16
|
作者
Sunitha, E., V [1 ]
Samuel, Philip [1 ]
机构
[1] Cochin Univ Sci & Technol, Dept Comp Sci, Kochi 682022, Kerala, India
关键词
Code generation; state machine; concurrency; hierarchy; history state; executable UML; MDD; MODEL-TRANSFORMATION;
D O I
10.1109/ACCESS.2018.2890791
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The fact that event driven systems can be modeled and implemented using unified modeling language (UML) state chart diagrams has led to the development of code generation tools. These are tremendously helpful in making software system designs and can even generate skeletal source code from these designs. The implementation of such automatic code generation from state diagrams is not fully supported by the existing programming languages. The major down side is that there is no one-to-one correspondence between the elements in the state chart diagram and the programming constructs. The existing programming elements cannot effectively implement two main components of the state diagram namely, state hierarchy and concurrency. In this paper, we present a novel design pattern for the implementation of the state diagram which includes hierarchical, concurrent, and history states. The state transitions of parallel states are delegated to the composite state class. The architecture of the code generator and the step by step process of code generation from UML state machine are proposed in the paper. The proposed approach is implemented and compared with similar tools and the results are found to be promising.
引用
收藏
页码:8591 / 8608
页数:18
相关论文
共 50 条
  • [1] Code Generation from UML Activity Diagrams: State of the Art
    Lopez Sanchez, Maximo
    Rodriguez Flores, Jazmin
    Idunate Rosales, Erick L.
    [J]. CISCI 2007: 6TA CONFERENCIA IBEROAMERICANA EN SISTEMAS, CIBERNETICA E INFORMATICA, MEMORIAS, VOL I, 2007, : 133 - 136
  • [2] Automatic feasible transition path generation from UML state chart diagrams using grouping genetic algorithms
    Choi, Yoo-Min
    Lim, Dong-Jin
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 94 : 38 - 58
  • [3] Automatic test case generation from UML State Machine diagrams
    Olianas, Dario
    [J]. PROGRAMMING 2019: PROCEEDINGS OF THE CONFERENCE COMPANION OF THE 3RD INTERNATIONAL CONFERENCE ON ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, 2019,
  • [4] Automatic test case generation from UML sequence diagrams
    Sarma, Monalisa
    Kundu, Debasish
    Mall, Rajib
    [J]. ADCOM 2007: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND COMMUNICATIONS, 2007, : 60 - +
  • [5] Automatic test case generation from UML communication diagrams
    Samuel, Philip
    Mall, Rajib
    Kanth, Pratyush
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (02) : 158 - 171
  • [6] Automatic generation of basic behavior schemas from UML class diagrams
    Albert, Manoli
    Cabot, Jordi
    Gomez, Cristina
    Pelechano, Vicente
    [J]. SOFTWARE AND SYSTEMS MODELING, 2010, 9 (01): : 47 - 67
  • [7] Automatic generation of object-Z specification from UML diagrams
    Miao Huaikou
    Chen Yihai
    [J]. ICCSE'2006: PROCEEDINGS OF THE FIRST INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2006, : 857 - 862
  • [8] Exploration of UML Diagrams based Code Generation Methods
    Bhullar, Noorpratap Singh
    Chhabra, Bharti
    Verma, Amit
    [J]. 2016 INTERNATIONAL CONFERENCE ON INVENTIVE COMPUTATION TECHNOLOGIES (ICICT), VOL 2, 2016, : 516 - 521
  • [9] Automatic generation of basic behavior schemas from UML class diagrams
    Manoli Albert
    Jordi Cabot
    Cristina Gómez
    Vicente Pelechano
    [J]. Software & Systems Modeling, 2010, 9 : 47 - 67
  • [10] A Novel Approach for Automatic Generation of UML Class Diagrams from XMI
    Hameed, Kashif
    Bajwa, Imran Sarwar
    Naeem, Muhammad Asif
    [J]. EMERGING TRENDS AND APPLICATIONS IN INFORMATION COMMUNICATION TECHNOLOGIES, 2012, 281 : 164 - +