Inspectopedia
 
2024.3

If statement with too many branches

Warning
Code Style
New
Last modified: 03 December 2024

Reports if statements with too many branches. Such statements may be confusing, and are often the sign of inadequate levels of design abstraction.

Example:

Use the Maximum number of branches field to specify the maximum number of branches expected.