Structure depth level#
Level of Depth of Structures
Description#
A SCADE structure type shall contain at most ‘parameter-value’ level of sub structures. var.level1.level2.level3
The rule parameter is an integer defining the maximum allowed structure depth. Default value is 4
.
Rationale#
This enforces compliance with a specific modeling standard by ensuring that structures remain below a given complexity level.
Verification#
This rule recursively checks all structures throughout the model to determine their maximum depth.
A simple structure with primitive fields has depth 1
.
The rule fails if a structure exceeds the maximum allowed depth.
Resolution#
Modify the offending structure to reduce its depth, as detailed in the rule failure message.
Customization#
N/A.