Inspectopedia
 
2024.3

Nested 'switch' statement

Warning
Last modified: 03 December 2024

Reports nested switch statements or expressions.

Nested switch statements may result in extremely confusing code. These statements may be extracted to a separate method.

Example: