Checkstyle VS SonarJava

Compare Checkstyle vs SonarJava and see what are their differences.

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. (by checkstyle)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
Checkstyle SonarJava
9 0
6,457 842
2.4% 1.5%
9.8 9.7
4 days ago 5 days ago
Java Java
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Checkstyle

Posts with mentions or reviews of Checkstyle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-27.

SonarJava

Posts with mentions or reviews of SonarJava. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning SonarJava yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing Checkstyle and SonarJava you can also consider the following projects:

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

SonarQube - Continuous Inspection

Error Prone - Catch common Java mistakes as compile-time errors

PMD - An extensible multilanguage static code analyzer.

FindBugs - The new home of the FindBugs project

infer - A static analyzer for Java, C, C++, and Objective-C

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.

Sourcetrail - Sourcetrail - free and open-source interactive source explorer