Error Prone: Google's Secret Weapon for Bug-Free Lines of Code
summary
Error Prone is a static-analysis tool from Google that runs inside the javac compiler and uses AST-based checks to find subtle Java bugs (like risky null usage) and suggest fixes, going beyond tools such as Checkstyle or SpotBugs. The talk covers quick integration and minimal configuration for Maven/Gradle builds, a live demo that fails compilation on subtle errors to show the detailed diagnostics, and how to write custom, project-specific Error Prone checks.
AI-written summary · about
chapters (8)
- 0:00Error Prone intro
- 6:29What Error Prone is
- 10:05Bug check categories
- 13:00Demo with IntelliJ
- 17:41Custom checks
- 23:14Best practices
- 24:58Extensions & community
- 25:44Q&A
related talks
40mStreamlining Large-Scale Java Development Using Error Prone
45mAutomating away bugs with Error Prone in practice
48mSay goodbye to bugs and anti-patterns with Error Prone
38mSay goodbye to bugs and anti-patterns with Error Prone
01h 57mAutomatically improving Java codebases with Error Prone
49mStreamlining large-scale Java development using Error Prone
52mPreventing null pointer exceptions at compile time
40mAssuring top-notch code quality in the Java Universe
