Inspectopedia
 
2024.3

Constant on left side of comparison

Warning
New
Last modified: 03 December 2024

Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.