| Useless assignment to field |
Maintainability |
Warning |
| Useless assignment to local variable |
Maintainability |
Warning |
| Bitwise exclusive-or used like exponentiation |
Reliability |
Warning |
| Comparison of identical values |
Reliability |
Warning |
| Constant length comparison |
Reliability |
Warning |
| Duplicate 'if' branches |
Reliability |
Warning |
| Duplicate 'if' condition |
Reliability |
Error |
| Duplicate switch case |
Reliability |
Error |
| Expression has no effect |
Reliability |
Warning |
| Identical operands |
Reliability |
Warning |
| Impossible interface nil check |
Reliability |
Warning |
| Inconsistent direction of for loop |
Reliability |
Error |
| Missing error check |
Reliability |
Warning |
| Off-by-one comparison against length |
Reliability |
Error |
| Redundant call to recover |
Reliability |
Warning |
| Redundant check for negative value |
Reliability |
Warning |
| Self assignment |
Reliability |
Warning |
| Shift out of range |
Reliability |
Warning |
| Unreachable statement |
Reliability |
Warning |
| Whitespace contradicts operator precedence |
Reliability |
Warning |
| Wrapped error is always nil |
Reliability |
Warning |
| Writable file handle closed without error handling |
Reliability |
Warning |