Back close

Automatic Code Generation From UML State Chart Diagrams

Publication Type : Journal Article

Publisher : IEEE

Source : IEEE Access

Url : https://ieeexplore.ieee.org/abstract/document/8600324

Campus : Amritapuri

School : School of Computing

Year : 2019

Abstract : 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.

Cite this Research Publication : Sunitha E. V., Philip Samuel, “Automatic Code Generation From UML State Chart Diagrams”, IEEE Access ,2019.

Admissions Apply Now