Next: Parameters_Out_Of_Order, Previous: Overloaded_Operators, Up: Predefined Rules
Overly_Nested_Control_Structures
Flag each control structure whose nesting level exceeds the value provided in the rule parameter.
The control structures checked are the following:
if
statement
case
statement
loop
statement
The rule has the following parameter for the +R option:
If the parameter for the +R option is not specified or if it is not a positive integer, +R option is ignored.
If more then one option is specified for the gnatcheck call, the later option and new parameter override the previous one(s).