error-prone
https://github.com/google/error-prone
Java
Catch common Java mistakes as compile-time errors
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported20 Subscribers
Add a CodeTriage badge to error-prone
Help out
- Issues
- Bug Patterns page does not make clear first version on which each check is present
- Refuse to read from an InputStream after it's been cosed
- Suggested bug criterion: subtracting from currentTimeMillis()
- OutputStream implements flush() but close() does not invoke it
- Forbid attempts to mock immutable collections, value types
- Ignore ReturnValueIgnored in mock expectations
- Exception instance being thrown should have been caught or constructed locally
- Self-assignment in protocol buffers
- @GuardedBy checks inconsistent: variables vs methods, 'this' qualifier, etc.
- GuardedByChecker - should it take in to account assert Thread.holdsLock()?
- Docs
- Java not yet supported