Inspectopedia
 
2024.3

Nested 'switch' statement

Warning
Code Style
New
Last modified: 03 December 2024

Reports a switch statement that is nested in another switch statement. Nested switch statements may be very confusing, particularly if indenting is inconsistent.