Prev - Next - Down | SDMetrics - the UML design measurement tool |
Rule: TooManyInitialStates | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The region has two or more initial states. A region can have at most one initial state. Check the region and remove the surplus initial states.
|
Rule: InitialAndFinalStates | Category: Style |
Severity: 2-med | Applies to: all areas |
There is no initial or final state for the state machine. The top-level region of a state machine should have one initial state and at least one final state so that the state machine has a well-defined beginning and end.
|
Rule: DupName | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The region has two or more states of the same name. Distinctive states should have distinctive names. Duplicate names can also cause problems during code generation.
|
Rule: EmptyRegion | Category: Completeness |
Severity: 1-high | Applies to: all areas |
The region has no states. Add states to the region, or remove the region from the model. |
Rule: DeepHistory | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The region has two or more deep history states. A region can have at most one deep history state. Check the region and delete the surplus history states.
|
Rule: ShallowHistory | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The region has two or more shallow history states. A region can have at most one shallow history state. Check the region and delete the surplus history states.
|
Prev | Up | Next |
Appendix C.16 "Statemachine Rules" | Contents | Appendix C.18 "State Rules" |