Inspectopedia
 
2024.3

'if' can be merged with subsequent condition

Info
New
Last modified: 03 December 2024

Reports the if statements that are followed by elseif or other if statements having the same bodies. Such statements can be merged together.