All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
The code contains a conditional test that is performed twice, one right after the other.
x == 0 || x == 0
Perhaps the second occurrence is intended to be something else.
x == 0 || y == 0
Double check if this was intended; it likely wasn't.