Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
V7033. Suspicious similar...
menu mobile close menu
Additional information
toggle menu Contents

V7033. Suspicious similar comparisons. A typo may be present inside the expression.

Aug 04 2026

The analyzer has detected a suspicious condition that may contain a copy-paste error.

The example:

if (_id !== id ||
    _email !== email || 
    _email !== name) { // <=
  ....
}

The comparison chain contains a typo: the error is in the third line, where the name variable should have been compared to _name, not to _email.

The fixed code:

if (_id !== id ||
    _email !== email || 
    _email !== name) { // <=
  ....
}

What a quick draw in the Wild West of Coding —
you caught the bug in sec!
But we catch them in milliseconds. How about a duel?

Try free