DocumentCode :
237072
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
fYear :
2014
fDate :
7-9 Jan. 2014
Firstpage :
235
Lastpage :
245
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;
fLanguage :
English
Publisher :
ieee
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
Type :
conf
Filename :
7018470
Link To Document :
بازگشت