There are valid cases for passing a variable multiple times into the same method call, but usually doing so is a mistake, and something else was
intended for one of the arguments.
Noncompliant Code Example
if equal(myPoint.x, myPoint.x) { // Noncompliant
//...
}
Compliant Solution
if equal(myPoint.x, myPoint.y) {
//...
}
Deprecated
This rule is deprecated, and will eventually be removed.