Main Content

Stateflow Transitions

Metric ID

slcomp.StateflowTransitions

Description

For a given unit or component, this metric determines the number of Stateflow® transitions in each Stateflow:

  • Chart

  • Atomic subchart

  • Atomic box in a subchart

  • Linked atomic subchart

  • State Transition Table

  • Truth Table

Computation Details

This metric:

  • Does not analyze nested atomic subcharts or nested atomic boxes in subcharts.

  • Includes the default transition.

  • Includes unconnected transitions.

  • Ignores commented transitions.

Collection

To collect data for this metric, use getMetrics with the metric identifier slcomp.StateflowTransitions.

Results

For this metric, instances of metric.Result return Value as the number of Stateflow transitions in the charts in a unit or component.

See Also

Related Topics