Identical conditions
identical_conditions
Description
Find identical conditions in IF + CASE + WHILE etc Prerequsites: code is pretty printed with identical cAsE
Extended Information
Option selfComparison: reports a comparison with =, <>, <, >, <= or >= (and EQ, NE, LT, GT, LE, GE)
whose two operands are the same data object, like a = a or ls_new-id <> ls_new-id. The comparison is always true or
always false, usually one side should be another field.
Only operands that are data objects are compared: fields, components, attributes, field symbols, dereferences,
offset/length and table expressions without calls. Not reported: method calls and built-in functions, which can
return different values, literals like 1 = 1, ASSERT, and SQL conditions.