Need advice about which tool to choose?Ask the StackShare community!

Checkstyle

81
96
+ 1
0
SonarQube

1.5K
1.8K
+ 1
52
Add tool

Checkstyle vs SonarQube: What are the differences?

Checkstyle : A static code analysis tool. It is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard; SonarQube: Continuous Code Quality. SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.

Checkstyle and SonarQube can be categorized as "Code Review" tools.

Checkstyle and SonarQube are both open source tools. Checkstyle with 4.71K GitHub stars and 6.95K forks on GitHub appears to be more popular than SonarQube with 3.88K GitHub stars and 1.09K GitHub forks.

According to the StackShare community, SonarQube has a broader approval, being mentioned in 163 company stacks & 271 developers stacks; compared to Checkstyle , which is listed in 3 company stacks and 7 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Checkstyle
Pros of SonarQube
    Be the first to leave a pro
    • 26
      Tracks code complexity and smell trends
    • 16
      IDE Integration
    • 9
      Complete code Review
    • 1
      Difficult to deploy

    Sign up to add or upvote prosMake informed product decisions

    Cons of Checkstyle
    Cons of SonarQube
      Be the first to leave a con
      • 7
        Sales process is long and unfriendly
      • 7
        Paid support is poor, techs arrogant and unhelpful
      • 1
        Does not integrate with Snyk

      Sign up to add or upvote consMake informed product decisions

      What is Checkstyle ?

      It is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.

      What is SonarQube?

      SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention Checkstyle and SonarQube as a desired skillset
      CBRE
      United States of America Texas Richardson
      What companies use Checkstyle ?
      What companies use SonarQube?
      See which teams inside your own company are using Checkstyle or SonarQube.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Checkstyle ?
      What tools integrate with SonarQube?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Checkstyle and SonarQube?
      PMD
      It is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It includes CPD, the copy-paste-detector.
      FindBugs
      It detects possible bugs in Java programs. Potential errors are classified in four ranks: scariest, scary, troubling and of concern. This is a hint to the developer about their possible impact or severity.
      Checkmarx
      It is a provider of state-of-the-art application security solution: static code analysis software, seamlessly integrated into development process.
      ESLint
      A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
      Prettier
      Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
      See all alternatives