Skip to content

sonarqube

Self-hosted static analysis server that flags bugs and vulnerabilities in your code

Weak copyleft (OSI) · LGPL-3.0

Listed by , founder & editor

83

Health

Thriving

Overview

Stars

11,209

Last commit

today

Nov 2026

Repository age

15 years

since Jan 2011

Latest version

26.11.0.134175

Nov 2026

Contributors

–

26 active in 90 days

Releases

12

last 12 months

Language

Java

SonarQube Community Build is the free, open-source edition of the SonarQube code quality platform. It runs static analysis, using techniques such as symbolic execution and data and control flow analysis, to find bugs, security vulnerabilities, security hotspots and maintainability problems. Each finding explains what is wrong and why it matters.

You run the server yourself, written in Java, and feed it results from your CI pipeline. Findings also show up in your IDE and on pull requests. Quality Gates give you a pass-or-fail check on new code, so you can block merges that miss your standard. It also tracks coverage on new code.

The Community Build supports a subset of the more than 40 languages the wider platform covers. Branch analysis, pull request decoration, software composition analysis, secrets detection, infrastructure as code analysis and portfolio reporting belong to the commercial Server and Cloud editions. A hosted plan exists if you prefer not to run it. It is a free alternative to paid code quality and security scanning services.

Who it's for

Small dev teams that want a free code quality gate in CI

You get bug, vulnerability and maintainability checks plus Quality Gates without a license fee.

Skip if: You need branch analysis or pull request decoration, which are in the paid editions.

Security-minded engineers reviewing legacy code

Security hotspots and vulnerability findings come with guidance on the risk and the fix.

Skip if: You need deep taint analysis or secrets detection, which are not in the Community Build.

Teams reviewing a lot of AI-generated code

The same repeatable analysis runs on every line, whoever or whatever wrote it.

Skip if: Your languages are outside the subset the Community Build supports.

The problem it solves

Bugs and security flaws slip into production when reviews miss them, especially as code volume grows. You need a consistent automated check that runs on every change and explains each issue. SonarQube provides that on your own infrastructure.

Strengths

  • Free Community Build under LGPL-3.0, developed since 2011
  • Quality Gates enforce pass-or-fail standards on new code
  • Findings appear in the IDE, pull requests and CI pipelines
  • Active project with 12 releases in the last year
  • Self-hostable, with a hosted plan available

Trade-offs

  • Community Build covers only a subset of supported languages
  • Branch analysis and PR decoration need a commercial edition
  • SCA, secrets detection and IaC analysis are paid features
  • You must run and maintain a Java server yourself

Self-host sonarqube

Self-hostable
Yes
Hosted plan
From $34/month · pricing

Frequently asked questions

Is SonarQube free?

The Community Build in this repository is free and open source. Commercial Server and Cloud editions add more features.

Can I self-host it?

Yes. You run the server on your own infrastructure and connect your CI pipeline to it.

How is it licensed?

The Community Build uses the LGPL-3.0 license, a weak copyleft license.

Does it support pull request decoration?

Not in the Community Build. Branch analysis and pull request decoration are in the commercial editions.

Similar tools in Testing and code quality tools

Buildbot

Testing and code quality tools

Python-configured continuous integration framework for custom, complex build workflows

5.5k 1.7k yesterday Active GPL-2.0

Replaces Jenkins

Floci

Testing and code quality tools

Free MIT-licensed local AWS emulator for development, testing and CI without an account

32k 3.6k today Thriving MIT

rust-clippy

Testing and code quality tools

Lint collection for Rust developers who want cleaner, more idiomatic code from cargo

14k 2.4k yesterday Active Apache-2.0

oss-fuzz

Testing and code quality tools

13k 3k today Active Apache-2.0

fakecloud

Testing and code quality tools

Single-binary local AWS emulator for integration tests and CI without an account

799 64 6 days ago Thriving AGPL-3.0

Replaces Localstack

GStreamer Debug Viewer

Testing and code quality tools

Log viewer for reading and filtering GStreamer debug output during pipeline debugging

268 952 2 days ago Active GPL-3.0+