Java Code Analysis

Open-source Java projects categorized as Code Analysis

Top 19 Java Code Analysis Projects

  • SonarQube

    Continuous Inspection

  • Project mention: Cloud Security and Resilience: DevSecOps Tools and Practices | dev.to | 2024-05-01

    2. SonarQube: https://github.com/SonarSource/sonarqube SonarQube enhances code quality and security. It performs automatic reviews to detect bugs, vulnerabilities, and code smells in your code.

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Error Prone

    Catch common Java mistakes as compile-time errors

  • Project mention: Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try. | /r/java | 2023-05-27

    error-prone is good for some extra static analysis.

  • JavaParser

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

  • PMD

    An extensible multilanguage static code analyzer.

  • Project mention: We Have Code Quality At Home: Open Source Java Code Quality Tools | dev.to | 2024-05-06

    PMD is a source code static analysis tool. It inspects your Java files for any issues, and has a configurable set of rules to look at.

  • NullAway

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

  • Project mention: What if null was an Object in Java? | news.ycombinator.com | 2024-04-28

    Fortunately, Uber made tooling for languages with broken type systems

    * https://github.com/uber/NullAway

    * https://github.com/uber-go/nilaway

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

  • SaaSHub

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

    SaaSHub logo
  • 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-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.

  • pysonar2

    PySonar2: a semantic indexer for Python with interprocedual type inference

  • SonarJava

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

  • FindBugs

    The new home of the FindBugs project

  • sonar-flutter

    SonarQube plugin for Flutter / Dart

  • RefactorFirst

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

  • Project mention: 📢📢📢RefactorFirst 0.4.0 is released!!!📢📢📢 | /r/java | 2023-06-27

    Learn more at https://github.com/jimbethancourt/RefactorFirst

  • forbidden-apis

    Policeman's Forbidden API Checker

  • proguard-core

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

  • umldoclet

    Automatically generate PlantUML diagrams in javadoc

  • 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

    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 related posts

  • We Have Code Quality At Home: Open Source Java Code Quality Tools

    4 projects | dev.to | 6 May 2024
  • Handling EI_EXPOSE_REP & EI_EXPOSE_REP2 👨🏻‍💻

    1 project | dev.to | 30 Apr 2024
  • What if null was an Object in Java?

    3 projects | news.ycombinator.com | 28 Apr 2024
  • PMD 7 Is Here

    1 project | news.ycombinator.com | 22 Mar 2024
  • AspectJ VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • Amazon CodeGuru Reviewer: already time for retirement?

    2 projects | dev.to | 1 Aug 2023
  • I introduced Rust at work

    2 projects | /r/rust | 29 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 May 2024
    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 8,610
2 Checkstyle 8,144
3 Error Prone 6,726
4 JavaParser 5,239
5 PMD 4,675
6 NullAway 3,531
7 Spotbugs 3,356
8 find-sec-bugs 2,205
9 Spoon 1,674
10 pysonar2 1,367
11 SonarJava 1,088
12 FindBugs 747
13 sonar-flutter 408
14 RefactorFirst 332
15 forbidden-apis 314
16 proguard-core 270
17 umldoclet 225
18 error-prone-support 167
19 AndroidResourceManager 29

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com