MetaCredo.Check.Warning.OperationOnSameValues (MetaCredo v0.1.0)

View Source

Detects arithmetic operations on identical operands that produce a constant result: x - x is always 0, x / x is always 1. These are likely copy-paste errors or logic mistakes.

Category: Warning / Priority: normal