SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Java Code Analysis Projects
-
Project mention: Aider: Integração Avançada de LLMs no Desenvolvimento de Software | dev.to | 2025-02-26
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
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.
We had a list of suggested code formation tools, as my code was written in Java I decided to use suggested formatter GoogleJavaFormat. However, I didn't decide to pick suggested tool for Linter. I picked Checkstyle; for the reason, that SpotBugs wasn't available for JDK 22.
-
-
JavaParser
Java 1-21 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
-
-
NullAway
A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
Would be cool if Java got this feature, explicit optionality at a language level a la T? is an enormous developer QoL in Kotlin and Typescript in my experience. In Java there's tools like NullAway [1] but they're a hassle.
Language-level support is leagues better than Optional/Maybe in my experience too because it keeps the code focused on the actual logic instead of putting everything in a map/flatMap railway.
[1] https://github.com/uber/NullAway
-
Project mention: We Have Code Quality At Home: Open Source Java Code Quality Tools | dev.to | 2024-05-06
SpotBugs is an open source static anlysis tool. "SpotBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns." This means that SpotBugs runs against the compiled source source code, rather than raw Java files. Because it analyses bytecode, it can catch some types of bugs that source code analysis would not catch.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
Project mention: Release Radar · April 2024 Edition: Major updates from the open source community | dev.to | 2024-05-03The creators at Spoon claim that "🥄 is made with ❤️, 🍻 and ✨"! And why not?! Spoon is a metaprogramming library to analyze and transform Java source code by parsing source files to build a well-designed AST (Abstract Syntax Tree). The latest version supports Java 17 and the modelling of receiver parameters has been changed. Read all about the changes in the release notes.
-
-
-
-
RefactorFirst
Identifies and prioritizes God Classes Highly Coupled classes, and Class Cycles in Java codebases you should refactor first.
-
-
-
-
-
error-prone-support
Error Prone extensions: extra bug checkers and a large battery of Refaster rules.
-
-
AndroidResourceManager
Android Resource Manager application to manage and analyse your app resources with many features like image resize, Color, Dimens and code Analysis
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java Code Analysis discussion
Java Code Analysis related posts
-
Aider: Integração Avançada de LLMs no Desenvolvimento de Software
-
Top 12 AI Test Automation Tools for Smarter Software Testing in 2025
-
Como Melhorar seu Código Java: 7 Boas Práticas e Padrões de Desenvolvimento
-
Contribution Instructions: Formate Code and Linting
-
Navigating the Software Developer Life: Soft Skills, AI Tools, and Team Dynamics
-
JVM/Java: Null-Restricted and Nullable Types
-
We Have Code Quality At Home: Open Source Java Code Quality Tools
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Mar 2025
Index
What are some of the best open-source Code Analysis projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | SonarQube | 9,417 |
2 | Checkstyle | 8,517 |
3 | Error Prone | 6,947 |
4 | JavaParser | 5,718 |
5 | PMD | 5,011 |
6 | NullAway | 3,712 |
7 | Spotbugs | 3,601 |
8 | find-sec-bugs | 2,319 |
9 | Spoon | 1,790 |
10 | pysonar2 | 1,402 |
11 | SonarJava | 1,164 |
12 | FindBugs | 764 |
13 | RefactorFirst | 474 |
14 | sonar-flutter | 469 |
15 | forbidden-apis | 343 |
16 | proguard-core | 294 |
17 | umldoclet | 241 |
18 | error-prone-support | 210 |
19 | jQAssistant | 209 |
20 | AndroidResourceManager | 30 |