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 条
  • [21] Hierarchical finite state machines with multiple concurrency models
    Girault, A
    Lee, B
    Lee, EA
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1999, 18 (06) : 742 - 760
  • [22] Test Selection for Hierarchical and Communicating Finite State Machines
    Ipate, Florentin
    COMPUTER JOURNAL, 2009, 52 (03): : 334 - 347
  • [23] Supervisory control problems of hierarchical finite state machines
    Marchand, H
    Gaudin, B
    PROCEEDINGS OF THE 41ST IEEE CONFERENCE ON DECISION AND CONTROL, VOLS 1-4, 2002, : 1199 - 1204
  • [24] GUI state-based accessibility control in hierarchical state machines
    Ni, MT
    Reichenbach, SE
    SERP '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2005, : 239 - 245
  • [25] The hierarchical control of ST-finite-state machines
    Caines, Peter E.
    Gupta, Vineet
    Shen, Gang
    Systems and Control Letters, 1997, 32 (04): : 185 - 192
  • [26] Design and implementation of parallel hierarchical finite state machines
    Sklyarov, Valery
    Skliarova, Iouliia
    2008 SECOND INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND ELECTRONICS, 2008, : 33 - 38
  • [27] Formal validation of hierarchical state machines against expectations
    Toyn, Ian
    Galloway, Andy
    2007 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2007, : 181 - +
  • [28] Verification of scope-dependent hierarchical state machines
    La Torre, Salvatore
    Napoli, Margherita
    Parente, Mimmo
    Parlato, Gennaro
    INFORMATION AND COMPUTATION, 2008, 206 (9-10) : 1161 - 1177
  • [29] On the effectiveness of slicing hierarchical state machines: A case study
    Heimdahl, MPE
    Thompson, JM
    Whalen, MW
    24TH EUROMICRO CONFERENCE - PROCEEDING, VOLS 1 AND 2, 1998, : 435 - 444
  • [30] On the complexity of existence of homing sequences for nondeterministic finite state machines
    Kushik, N. G.
    Kulyamin, V. V.
    Evtushenko, N. V.
    PROGRAMMING AND COMPUTER SOFTWARE, 2014, 40 (06) : 333 - 336