Overview
SonarQube is a code analysis platform from Sonar. It scans source code for bugs, security vulnerabilities and maintainability problems, and applies quality gates that pass or fail a change before it is merged or shipped. Results appear on branches and pull requests and in the developer's editor.
It comes in several forms. SonarQube Cloud is the hosted service, SonarQube Server is the self-managed product for your own infrastructure, including air-gapped networks, and SonarQube for IDE is a free editor extension that checks code as you write. SonarQube Community Build is the free, open-source self-hosted edition; it covers about 22 languages with basic vulnerability and secrets detection, but leaves out branch and pull request analysis.
SonarQube Cloud has a free plan for private projects up to 50,000 lines of code and is free for public open-source repositories. Paid Cloud plans and the Developer, Enterprise and Data Center editions of Server are priced by lines of code and add more languages, deeper security analysis, portfolio reporting and support. In total the product line covers more than 45 languages, frameworks and infrastructure-as-code formats.
Categories
Features
- Static analysis for bugs, vulnerabilities and maintainability issues
- Quality gates that pass or fail code against set conditions
- Pull request and branch analysis in the Cloud and paid Server editions
- Secrets detection and infrastructure-as-code scanning for Terraform and Kubernetes
- Taint analysis for injection flaws in commercial editions
- More than 45 languages, frameworks and IaC platforms across the product line
- Integrations with GitHub, GitLab, Bitbucket, Azure DevOps and CI tools such as Jenkins
- Free IDE extension for VS Code, JetBrains and other editors
- AI-assisted fix suggestions in higher tiers
Privacy
See the official privacy policy. With SonarQube Server or Community Build, code and findings stay on infrastructure you run; SonarQube Cloud analyses code on Sonar's hosted service.
Pros & Cons
Pros
- Free options for hosted, self-hosted and in-editor use
- Cloud is free for public open-source projects
- Can run entirely on your own infrastructure
- Fits into existing pull request and CI workflows
Cons
- Community Build has no branch or pull request analysis and fewer languages
- Free Cloud plan for private code is capped at 50,000 lines of code
- Advanced security analysis and compliance reports are paid
- Pricing grows with the amount of code analysed
Community Reviews (0)
No written reviews yet — be the first to rate this tool.