CheckOps home

Tools directory

E

CheckOps

Error Prone

Error Prone is an Apache-2.0 static analysis tool from Google that hooks into the Java compiler to catch common mistakes as compile-time errors, with suggested fixes.

Visit website

Latest public signals

Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.

Visit Website

Introduction

Error Prone catches common Java mistakes as compile-time errors. It plugs into javac as a compiler plugin, so checks run during normal compilation and report problems with source positions and, often, suggested fixes.

Its bug patterns come from Google’s experience with a large Java codebase: misuse of equals, ignored return values, incorrect format strings, dangerous collection calls and more. Severity can be raised or lowered per check, and NullAway, a separate project, builds on it for null safety. Maven, Gradle and Bazel integrations are documented.

In the quality loop Error Prone moves bug detection into the compile step.

The source code is at google/error-prone on GitHub under the Apache-2.0 licence, with about 7,300 stars; the most recent commit was on 11 November 2026.

Features

  1. Compiler plugin: Runs inside javac.
  2. Hundreds of bug patterns: Built from real-world Java mistakes.
  3. Suggested fixes: Patches for many findings.
  4. Severity control: Per-check levels.
  5. Custom checks: Write your own BugCheckers.
  6. Build integrations: Maven, Gradle and Bazel.

Pros

  1. Zero extra step: Errors appear during compilation.
  2. Free to use: Open source under the Apache-2.0 licence, so the core tool costs nothing to use.
  3. Actively maintained: The repository had commits as recent as 11 November 2026.
  4. Community: About 7,300 GitHub stars.

Cons

  1. JDK coupling: Requires specific JDK flags.
  2. Build setup: Configuration differs per build tool.
  3. Java only: Not for Kotlin.
plugins { id("net.ltgt.errorprone") version "<latest>" }
dependencies { errorprone("com.google.errorprone:error_prone_core:2.52.0") }

Resources:

Pricing

Error Prone is free and open source under the Apache-2.0 licence.

  1. Java teams wanting compiler-level bug checks.
  2. Large codebases standardising on Google practices.

Conclusion

Error Prone stops many Java bugs before code even compiles.

Enable it early in new projects to avoid a backlog.

On CheckOps, Error Prone is filed under the Release & CI gates stage. Related tools listed here include PMD, SpotBugs, Checkstyle, Find Security Bugs, SonarQube and Infer. Before standardising on one, compare recent maintenance activity, the pricing model as your usage grows, and the integrations you rely on today. Information on this page was verified against the official website, documentation and repository on 11 November 2026.

Alternatives

Other tools on CheckOps that cover similar ground. Open a page, or compare one with Error Prone side by side.