Title :
Enhanced code generation from UML composite state machines
Author :
Badreddin, Omar ; Lethbridge, Timothy C. ; Forward, Andrew ; Elaasar, Maged ; Aljamaan, Hamoud ; Garzon, Miguel A.
Author_Institution :
School of Electrical Engineering and Computer Science, University of Ottawa, Ontario, Canada
Abstract :
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.
Keywords :
Abstracts; Computational modeling; Educational institutions; Explosions; Software; Switches; Unified modeling language; Code Generation; Model Driven Architecture; Model Driven Development; Model Oriented Programming; Reverse Engineering; State Machine; Umple;
Conference_Titel :
Model-Driven Engineering and Software Development (MODELSWARD), 2014 2nd International Conference on
Conference_Location :
Lisbon, Portugal
Print_ISBN :
978-9-8975-8065-9