Complexity Metrics for Hierarchical State Machines

被引:0
|
作者
Hall, Mathew [1 ]
机构
[1] Univ Sheffield, Dept Comp Sci, Sheffield S10 2TN, S Yorkshire, England
来源
基金
英国工程与自然科学研究理事会;
关键词
SYSTEMS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automatically generated state machines are constrained by their complexity, which can be reduced via hierarchy generation. A technique has been demonstrated for hierarchy generation, although evaluation of this technique has proved difficult. There are a variety of metrics that can be used to provide indicators of how complicated a state machine or statechart is, one such example is cyclomatic complexity (the number of edges - the number of states + 2). Despite this, the existing complexity metric for statecharts does not operate on the hierarchy, instead providing an equivalent cyclomatic complexity for statecharts by ignoring it. This paper defines two new metrics; Top Level Cyclomatic Complexity and Hierarchical Cyclomatic Complexity. These metrics assess the complexity of a hierarchical machine directly, as well as allowing for comparison between the original, flat state machine and its hierarchical counterpart.
引用
收藏
页码:76 / 81
页数:6
相关论文
共 50 条
  • [31] On the complexity of existence of homing sequences for nondeterministic finite state machines
    N. G. Kushik
    V. V. Kulyamin
    N. V. Evtushenko
    Programming and Computer Software, 2014, 40 : 333 - 336
  • [32] Reinforcement Learning With Low-Complexity Liquid State Machines
    Ponghiran, Wachirawit
    Srinivasan, Gopalakrishnan
    Roy, Kaushik
    FRONTIERS IN NEUROSCIENCE, 2019, 13
  • [33] On the complexity of LTL model-checking of recursive state machines*
    La Torre, Salvatore
    Parlato, Gennaro
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2007, 4596 : 937 - +
  • [34] A recursive algorithm for diagnosis in hierarchical finite-state machines
    Mohammadi, R.
    Hashtrudi-Zad, S.
    2007 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-8, 2007, : 2938 - 2943
  • [35] Hierarchical and recursive state machines with context-dependent properties
    La Torre, S
    Napoli, M
    Parente, M
    Parlato, G
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2003, 2719 : 776 - 789
  • [36] Optimizing Hierarchical, Concurrent State Machines in Umple for Model Checking
    Adesina, Opeyemi
    Lethbridge, Timothy C.
    Some, Stephane
    2019 ACM/IEEE 22ND INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION (MODELS-C 2019), 2019, : 524 - 532
  • [37] Specifications and design of graphical interface for hierarchical finite state machines
    Hugel, Vincent
    Amouroux, Guillaume
    Costis, Thomas
    Bonnin, Patrick
    Blazevic, Pierre
    ROBOCUP 2005: ROBOT SOCCER WORLD CUP IX, 2006, 4020 : 648 - 655
  • [38] Towards a Systems Programming Language Designed for Hierarchical State Machines
    McClelland, Brian
    Tellier, Daniel
    Millman, Meyer
    Go, Kate Beatrix
    Balayan, Alice
    Munje, Michael J.
    Dewey, Kyle
    Nhut Ho
    Havelund, Klaus
    Ingham, Michel
    8TH IEEE INTERNATIONAL CONFERENCE ON SPACE MISSION CHALLENGES FOR INFORMATION TECHNOLOGY (SMC-IT 2021), 2021, : 23 - 30
  • [39] Generating hierarchical state machines from use case charts
    Whittle, Jon
    Jayaraman, Praveen K.
    RE'06: 14TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, PROCEEDINGS, 2006, : 19 - +