• DocumentCode
    3075396
  • Title

    A complexity metric for concurrent finite state machine based embedded software

  • Author

    Liangpeng Guo ; Vincentelli, Alberto Sangiovanni ; Pinto, Allan

  • Author_Institution
    Univ. of California, Berkeley, Berkeley, CA, USA
  • fYear
    2013
  • fDate
    19-21 June 2013
  • Firstpage
    189
  • Lastpage
    195
  • Abstract
    The development cost of safety-critical embedded systems is dominated today by the cost of software including verification and validation. This cost is typically related to the complexity of the software functions implementing the desired system behavior in nominal and off-nominal conditions. A widely used measure of complexity is the cyclomatic number, which is computed on the implementation code. However this technique is not effective when model-based development and code generation are used because the complexity of the software also depends on the communication and execution semantics of the models. This paper proposes a model-based complexity number that is defined on the decision diagram (DD) representation of the system functionality. The proposed complexity number gives an upper bound on the number of tests that are necessary to achieve Condition/Decision (C/D) coverage (which is required for safety critical systems). We show that the number of tests is related to the min-flow/max-cut computed on the DD. By comparing the proposed metric with the cyclomatic complexity, we show that the former seems to be better suited for capturing the complexity of the model than the latter. A case study on an aircraft power system shows that the complexity metric has applications in functional partitioning and architecture selection.
  • Keywords
    computational complexity; embedded systems; finite state machines; safety-critical software; DD representation; aircraft power system; architecture selection; code generation; complexity metric; concurrent finite state machine; condition-decision coverage; cyclomatic complexity; cyclomatic number; decision diagram representation; embedded software; functional partitioning; model-based development; safety-critical embedded system; software validation; software verification; Complexity theory; Computational modeling; Measurement; Semantics; Software; Switches; Unified modeling language;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Industrial Embedded Systems (SIES), 2013 8th IEEE International Symposium on
  • Conference_Location
    Porto
  • Type

    conf

  • DOI
    10.1109/SIES.2013.6601491
  • Filename
    6601491