All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
An off-by-one error happens due to incorrectly handled edge-cases. It is recommended to carefully vet the program for off-by-one bugs.
arr[len(arr)]
arr[len(array)-1]