skip to main content
10.1145/2630768.2630770acmotherconferencesArticle/Chapter ViewAbstractPublication PagesbmConference Proceedingsconference-collections
research-article

A Set of Metrics for States and Transitions in UML State Machines

Published:22 July 2014Publication History

ABSTRACT

UML state machines are widely used to model software system behaviors. Seemingly intuitive and simple, state machines may actually be rather complex. We present a set of metrics to reflect which model elements actually account for the complexity. Our metrics give a better understanding of the complexity of UML state machines, and may alert the modeler to pay more attention to more complex states and transitions.

References

  1. Ron Cytron, Jeanne Ferrante, Barry K. Rosen, Mark N. Wegman, and F. Kenneth Zadeck. An Efficient Method of Computing Static Single Assignment Form. In Conf. Rec. 16th Annual ACM Symp. Principles of Programming Languages (POPL'89), pages 25--35. ACM Press, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Doron Drusinsky. Modeling and Verification Using UML Statecharts. Elsevier, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Liangpeng Guo, Alberto L. Sangiovanni-Vincentelli, and Alessandro Pinto. A Complexity Metric for Concurrent Finite State Machine Based Embedded Software. In 8th IEEE Int. Symp. Industrial Embedded Systems (SIES'13), pages 189--195. IEEE, 2013.Google ScholarGoogle Scholar
  4. Mathew Hall. Complexity Metrics for Hierarchical State Machines. In Myra B. Cohen and Mel Ó Cinnéide, editors, 3rd Int. Symp. Search Based Software Engineering (SBSE'11), volume 6956 of Lect. Notes Comp. Sci., pages 76--81. Springer-Verlag, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Object Management Group. OMG Unified Modeling Language (OMG UML), Superstructure, Version 2.4.1. Specification, OMG, 2011. http://www.omg.org/spec/UML/2.4.1/Superstructure.Google ScholarGoogle Scholar
  6. http://en.wikipedia.org/wiki/Cyclomatic_complexity. 2014-04-30.Google ScholarGoogle Scholar
  7. http://code.google.com/p/umple/wiki/MasuringStateMachineComplexity. 2014-04-30.Google ScholarGoogle Scholar
  8. Gefei Zhang. Aspect-Oriented State Machines. PhD thesis, Ludwig-Maximilians-Universität München, 2010.Google ScholarGoogle Scholar
  9. Gefei Zhang and Matthias M. Hölzl. HiLA: High-Level Aspects for UML State Machines. In Sudipto Ghosh, editor, Rep. & Rev. Sel. Papers Wshs at MoDELS'09, volume 6002 of Lect. Notes Comp. Sci., pages 104--118. Springer, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Gefei Zhang and Matthias M. Hölzl. Weaving Semantic Aspects in HiLA. In Robert Hirschfeld, Éric Tanter, Kevin J. Sullivan, and Richard P. Gabriel, editors, Proc. 11th Int. Conf. Aspect-Oriented Software Development (AOSD'12), pages 263--274. ACM, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. A Set of Metrics for States and Transitions in UML State Machines

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          BM-FA '14: Proceedings of the 2014 Workshop on Behaviour Modelling-Foundations and Applications
          July 2014
          72 pages
          ISBN:9781450327916
          DOI:10.1145/2630768

          Copyright © 2014 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 22 July 2014

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article
          • Research
          • Refereed limited

          Acceptance Rates

          BM-FA '14 Paper Acceptance Rate8of9submissions,89%Overall Acceptance Rate8of9submissions,89%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader