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 条
  • [1] STATE COMPLEXITY OF TURING MACHINES
    SCHMITT, AA
    INFORMATION AND CONTROL, 1970, 17 (03): : 217 - &
  • [2] Hierarchical featured state machines
    Fragal, Vanderson Hafemann
    Simao, Adenilso
    Mousavi, Mohammad Reza
    SCIENCE OF COMPUTER PROGRAMMING, 2019, 171 : 67 - 88
  • [3] Model checking of hierarchical state machines
    Alur, R
    Yannakakis, M
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2001, 23 (03): : 273 - 303
  • [4] Reduction and slicing of hierarchical state machines
    Heimdahl, MPE
    Whalen, MW
    SOFTWARE ENGINEERING - ESEC/FSE '97, 1997, 1301 : 450 - 467
  • [5] Assessing the Quality of Tabular State Machines through Metrics
    Osaiweran, Ammar
    Marincic, Jelena
    Groote, Jan Friso
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 426 - 433
  • [6] Timed recursive state machines: Expressiveness and complexity
    Benerecetti, Massimo
    Peron, Adriano
    THEORETICAL COMPUTER SCIENCE, 2016, 625 : 85 - 124
  • [7] Modeling and Monitoring of Hierarchical State Machines in Scala
    Havelund, Klaus
    Joshi, Rajeev
    SOFTWARE ENGINEERING FOR RESILIENT SYSTEMS, SERENE 2017, 2017, 10479 : 21 - 36
  • [8] Synthesis of Parallel Hierarchical Finite State Machines
    Sklyarov, Valery
    Skliarova, Iouliia
    2013 21ST IRANIAN CONFERENCE ON ELECTRICAL ENGINEERING (ICEE), 2013,
  • [9] Hierarchical State Machines for Native Mobile Apps
    Prajapati, Dilip
    2012 ANNUAL IEEE INDIA CONFERENCE (INDICON), 2012, : 640 - 642
  • [10] Hierarchical concurrent finite state machines in Ptolemy
    Lee, B
    Lee, EA
    1998 INTERNATIONAL CONFERENCE ON APPLICATION OF CONCURRENCY TO SYSTEM DESIGN, PROCEEDINGS, 1998, : 34 - 40