SonarQube

Swiss code-quality platform used by 7M+ developers, now with AI code review and auto-fix

Quick Overview

Company SonarSource Sàrl
Category AI Coding Assistants
Headquarters Geneva, Switzerland
Founded 2008
EU Presence Switzerland
Open Source LGPLv3 (Community Edition)
Pricing Free tier up to 50,000 lines of code / SonarQube Team plan from about $34 per month (100k LOC) / Gitar AI Code Review from $20 per user/month annual / Enterprise on request; free forever for public OSI-licensed repos
Free Option 14-day free trial, no credit card
Replaces Codacy, GitHub Advanced Security, Veracode

Detailed Review

Pros and Cons

Pros

  • Community Edition open source under LGPLv3, self-hostable
  • AI-powered pull-request review (Gitar) and AI CodeFix suggestions
  • SAST, SCA and secrets detection across 30+ languages
  • Concrete, published pricing with a free 14-day trial
  • Swiss vendor with an 18-year track record

Cons

  • Free tier capped at 50,000 lines of private code
  • AI review and auto-fix features route through third-party LLMs
  • Analysis and review, not code generation
  • Full enterprise feature set requires a paid plan

Alternatives to SonarQube

See all AI coding assistants →

Frequently Asked Questions

What is SonarQube?

SonarQube is the code-quality platform many of the tools elsewhere in this category get compared against, and it has added AI on top of the analysis it has run since 2008: SAST, SCA and secrets detection across 30-plus languages, plus Gitar, an AI-powered pull-request review add-on, and AI CodeFix suggestions for issues it finds.

Sonar states it is trusted by more than 7 million developers, which for a Swiss company predating most of this category by over a decade is a believable claim rather than a marketing number.

Where is SonarQube based?

SonarQube operates from Geneva, Switzerland, which places it under Switzerland.

What does SonarQube cost?

Free tier up to 50,000 lines of code / SonarQube Team plan from about $34 per month (100k LOC) / Gitar AI Code Review from $20 per user/month annual / Enterprise on request; free forever for public OSI-licensed repos. 14-day free trial, no credit card.

Who is SonarQube best for?

Teams that want code-quality scanning and AI-assisted fixes from a long-established European vendor. The scanning engine itself is open source under LGPLv3 — the AI layer on top is new, but the free, self-hostable core has eighteen years behind it.

What are the drawbacks of SonarQube?

Free tier capped at 50,000 lines of private code. AI review and auto-fix features route through third-party LLMs. Analysis and review, not code generation. Full enterprise feature set requires a paid plan.

Who worked on this review

Three people touch every tool page: one writes it, a second edits it, and a third checks the compliance and pricing claims against the vendor's own documentation.

Ingrid Halvorsen
Written by

Ingrid Halvorsen

Managing Editor · Oslo, Norway

Runs the review process and decides when a page is ready to publish or needs another pass.

Marta Kowalczyk
Edited by

Marta Kowalczyk

Senior Analyst, Infrastructure & Developer Tools · Warsaw, Poland

Covers hosting, developer tooling and the practical side of moving workloads to European providers.

Daniel Brandt
Fact-checked by

Daniel Brandt

Privacy & Compliance Researcher · Berlin, Germany

Checks the compliance claims: where the company is established, where the data sits, and what the DPA actually says.

Read our editorial process for how we source, verify and update these pages — and how we keep affiliate income separate from what we recommend.

Go to SonarQube