SaaSHub helps you find the best software and product alternatives Learn more →
Top 19 Java Code Analysis Projects
-
Automated analysis tools: SonarQube, CodeClimate, and Codacy detect code-level debt automatically: cyclomatic complexity, code duplication, dependency staleness, and coverage gaps. These tools supplement but don't replace the architectural and business-logic debt that requires human judgment to identify and document.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Checkstyle
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Added guard rails: Added unit and integration tests, added auto code formatting with spotless, added code analysis using checkstyle
-
-
JavaParser
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
Project mention: Onboarding Your AI Pair Programmer: From Spec-Driven Development to Kiro Powers | dev.to | 2026-07-11We (Kiro and me) developed this approach while contributing to JavaParser, a 6,000+ star open source project with strict architectural standards. After receiving maintainer feedback on our first PR that highlighted 8 code quality issues (not bugs — the code worked, but it bypassed project abstractions), we realized: the AI needed to be onboarded properly.
-
A team I was talking to had built a code-review skill in Claude Code. It looked good: a careful prompt, a set of rules, and examples. Then it shipped a PR with a nested recursive loop inside another recursive loop. Cyclomatic complexity any static analyser (PMD, radon, ESLint's complexity rule) would have flagged in milliseconds. The skill missed it.
-
NullAway
A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
-
-
find-sec-bugs
The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)
-
Spoon
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
Spoon is a heavier and more powerful framework that helps read, modify, and create Java code. It's powerful enough that we built our Java static analyzer on it. It may be an overkill for our task, but it's worth mentioning.
-
-
-
-
RefactorFirst
Identifies and prioritizes Class and Package Cycles and Anti-pattens in Java & Kotlin codebases you should refactor first.
-
-
-
-
-
-
AndroidResourceManager
Android Resource Manager application to manage and analyse your app resources with many features like image resize, Color, Dimens and code Analysis
Java Code Analysis discussion
Java Code Analysis related posts
-
How I Choose Which Open Source Issue to Work On (After Picking Wrong Ones)
-
How I Extended a Refaster Rule in Picnic's error-prone-support (and Recovered a PR GitHub Broke)
-
How to Write a Technical Debt Remediation Plan for Non-Technical Stakeholders
-
13 Best Duplicate Code Checker Tools in 2026
-
SonarQube vs PMD: Java Static Analysis Compared (2026)
-
Code generation for algorithms in Java
-
Solving the Billion-Dollar Mistake: Modern Java Null Safety with JSpecify and NullAway
-
A note from our sponsor - SaaSHub
www.saashub.com | 8 Nov 2026
Index
What are some of the best open-source Code Analysis projects in Java? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | SonarQube | 11,161 |
| 2 | Checkstyle | 9,638 |
| 3 | Error Prone | 7,268 |
| 4 | JavaParser | 6,175 |
| 5 | PMD | 5,525 |
| 6 | NullAway | 4,132 |
| 7 | Spotbugs | 3,966 |
| 8 | find-sec-bugs | 2,453 |
| 9 | Spoon | 1,963 |
| 10 | pysonar2 | 1,424 |
| 11 | SonarJava | 1,220 |
| 12 | FindBugs | 780 |
| 13 | RefactorFirst | 548 |
| 14 | sonar-flutter | 498 |
| 15 | forbidden-apis | 373 |
| 16 | proguard-core | 351 |
| 17 | jQAssistant | 300 |
| 18 | umldoclet | 257 |
| 19 | AndroidResourceManager | 32 |