Java Code Analysis

Open-source Java projects categorized as Code Analysis

Top 20 Java Code Analysis Projects

Code Analysis
  1. SonarQube

    Continuous Inspection

    Project mention: Aider: Integração Avançada de LLMs no Desenvolvimento de Software | dev.to | 2025-02-26
  2. 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.

    CodeRabbit logo
  3. 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.

    Project mention: Contribution Instructions: Formate Code and Linting | dev.to | 2024-11-01

    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.

  4. Error Prone

    Catch common Java mistakes as compile-time errors

  5. JavaParser

    Java 1-21 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

  6. PMD

    An extensible multilanguage static code analyzer.

    Project mention: Análise Comparativa: Aider vs. PMD vs. Semgrep | dev.to | 2025-02-27
  7. NullAway

    A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead

    Project mention: JVM/Java: Null-Restricted and Nullable Types | news.ycombinator.com | 2024-08-02

    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

  8. Spotbugs

    SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

    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.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. find-sec-bugs

    The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)

  11. 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-03

    The 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.

  12. pysonar2

    PySonar2: a semantic indexer for Python with interprocedual type inference

  13. SonarJava

    :coffee: SonarSource Static Analyzer for Java Code Quality and Security

  14. FindBugs

    The new home of the FindBugs project

  15. RefactorFirst

    Identifies and prioritizes God Classes Highly Coupled classes, and Class Cycles in Java codebases you should refactor first.

  16. sonar-flutter

    SonarQube plugin for Flutter / Dart

  17. forbidden-apis

    Policeman's Forbidden API Checker

  18. proguard-core

    Library to read, write, analyze, and process java bytecode

  19. umldoclet

    Automatically generate PlantUML diagrams in javadoc

  20. error-prone-support

    Error Prone extensions: extra bug checkers and a large battery of Refaster rules.

  21. jQAssistant

    Your Software. Your Structures. Your Rules.

  22. AndroidResourceManager

    Android Resource Manager application to manage and analyse your app resources with many features like image resize, Color, Dimens and code Analysis

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Code Analysis discussion

Log in or Post with

Java Code Analysis related posts

  • Aider: Integração Avançada de LLMs no Desenvolvimento de Software

    2 projects | dev.to | 26 Feb 2025
  • Top 12 AI Test Automation Tools for Smarter Software Testing in 2025

    2 projects | dev.to | 13 Jan 2025
  • Como Melhorar seu Código Java: 7 Boas Práticas e Padrões de Desenvolvimento

    2 projects | dev.to | 14 Nov 2024
  • Contribution Instructions: Formate Code and Linting

    2 projects | dev.to | 1 Nov 2024
  • Navigating the Software Developer Life: Soft Skills, AI Tools, and Team Dynamics

    1 project | dev.to | 17 Aug 2024
  • JVM/Java: Null-Restricted and Nullable Types

    3 projects | news.ycombinator.com | 2 Aug 2024
  • We Have Code Quality At Home: Open Source Java Code Quality Tools

    4 projects | dev.to | 6 May 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
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.
coderabbit.ai

Did you know that Java is
the 8th most popular programming language
based on number of references?