Inspectopedia
 
2024.3

'if' statement with too many branches

Warning
Last modified: 03 December 2024

Reports if statements with too many branches.

Such statements may be confusing and are often a sign of inadequate levels of design abstraction.

Use the Maximum number of branches field to specify the maximum number of branches an if statement is allowed to have.