Enhanced code generation from UML composite state machines

Omar Badreddin, Timothy C. Lethbridge, Andrew Forward, Maged Elaasar, Hamoud Aljamaan, Miguel A. Garzon

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

20 Scopus citations

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.

Original languageEnglish
Title of host publicationMODELSWARD 2014 - Proceedings of the 2nd International Conference on Model-Driven Engineering and Software Development
PublisherSciTePress
Pages235-245
Number of pages11
ISBN (Print)9789897580079
DOIs
StatePublished - 2014
Externally publishedYes

Publication series

NameMODELSWARD 2014 - Proceedings of the 2nd International Conference on Model-Driven Engineering and Software Development

Keywords

  • Code generation
  • Model driven architecture
  • Model driven development
  • Model oriented programming
  • Reverse engineering
  • State machine
  • Umple

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Enhanced code generation from UML composite state machines'. Together they form a unique fingerprint.

Cite this