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 supported22 Subscribers
Add a CodeTriage badge to error-prone
Help out
- Issues
- 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
- @GuardedBy checks inconsistent: variables vs methods, 'this' qualifier, etc.
- GuardedByChecker - should it take in to account assert Thread.holdsLock()?
- Compiler generates invalid patch files when the patch location is in a subdirectory
- Warn when injecting more than one of the exact same binding
- Docs
- Java not yet supported