Inspectopedia
 
2024.3

Simplifiable 'if' statement

Warning
New
Last modified: 03 December 2024

Reports if statements that can be replaced with case statements.

Use the Minimum number of branches field to specify the minimum number of when branches for the resulting case statement.

Example: