Inspectopedia
 
2024.3

Constant on right side of comparison

Warning
New
Last modified: 03 December 2024

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