SonarQube Server
by Sonar • • Static Code Analysis Tools
SonarQube Server is self-hosted code quality and security analysis for development teams, from a free Community Build to Data Center clustering.
SonarQube Server is static code analysis software that development teams run on their own infrastructure to check code quality and security. It is made by Sonar (SonarSource Sàrl), an independent company based in Geneva. The server analyzes source code for bugs, security vulnerabilities, security hotspots, code smells and architecture issues, and it reports results per project and per pull request. SonarQube Cloud, the hosted service from the same company, is a separate product. Analysis results feed Quality Gates, which set pass or fail conditions on new code and stop a build when a condition is missed. Quality Profiles decide which rules apply to each language and project. Taint analysis looks for injection and cross-site scripting flaws, and secrets detection looks for credentials committed to source files. The server also reports duplicated code, cognitive and cyclomatic complexity, and test coverage imported from a project's own reports. Developer Edition adds branch analysis, pull request decoration and AI Code Assurance. Enterprise Edition adds Portfolios and management reporting, MISRA C++:2023 compliance and the paid Advanced Security product for dependency analysis and advanced SAST. Data Center Edition adds high availability clustering and autoscaling. The Community Build suits open source maintainers, individual developers and small teams that want a free, self-managed analyzer. Developer Edition fits product teams that review changes through pull requests. Enterprise Edition fits organizations that need one view across many projects, and Data Center Edition fits very large code bases that call for a clustered, highly available server. The editions are licensed per instance per year on lines of code, with Enterprise and Data Center sold through the sales team. The server runs on-premises, in Docker or on Kubernetes, and connects to GitHub, GitLab, Bitbucket and Azure DevOps. It also works with Jenkins, Jira Cloud, Slack and JFrog. Developers see the same findings in VS Code and IntelliJ through SonarQube for IDE in connected mode. Typical jobs are gating pull requests in CI, reviewing AI-generated code before it merges, and producing compliance reports.
Pricing
View plans-
Community Build
Free
- Free and open source, self-managed
- Secrets detection
- Branch and pull request analysis start in Developer Edition
- Covers fewer languages than the paid editions
-
Developer Edition
Custom pricing
- Priced per instance per year by lines of code, no public figure
- Free trial on request
- Recommended for 100K+ lines of code
- Branch analysis and pull request decoration
- AI Code Assurance and architecture management
- Secrets detection
- One integration each for GitHub, GitLab, Bitbucket and Azure DevOps
-
Enterprise Edition
Custom pricing
- Contact sales; per instance per year by lines of code, no public figure
- Developer Edition features plus the items below; free trial on request
- Recommended for 1M+ lines of code
- Portfolios and management reporting
- Advanced Security (dependency analysis, advanced SAST) is a paid product, price on request
- MISRA C++:2023 compliance
- Standard commercial support included from 30M lines of code; extra cost below that
-
Data Center Edition
Custom pricing
- Contact sales; per instance per year by lines of code, no public figure
- Enterprise Edition features plus the items below
- Recommended for 20M+ lines of code
- High availability clustering and autoscaling
- 24/7 premium support available
Features
- Included: Quality gate that fails the build
- Included: Pull request decoration with findings
- Included: New-code-only analysis against a baseline
- Included: Custom rule authoring
- Included: Rule set configuration per project
- Included: SAST security vulnerability rules
- Included: Hardcoded secrets detection
- Included: Software composition analysis of dependencies
- Included: Code duplication detection
- Included: Complexity and maintainability metrics
- Included: Test coverage import and tracking
- Included: IDE plugin with live findings
- Included: Analysis for 20 or more languages
- Included: Infrastructure-as-code scanning
- Not included: Automated fix suggestions for findings
- Included: Portfolio-level quality dashboards
- Included: Self-hosted analysis server
- Included: Free analysis for open source projects
Additional Features
- Quality Gates on new code
- Quality Profiles per language and project
- Ratings for security, reliability and maintainability
- Security hotspots review
- Taint analysis for injection and cross-site scripting
- Secrets detection in source files
- Branch analysis
- Pull request decoration
Best for
- Development teams that need code analysis to run on their own infrastructure
- Open source maintainers and small teams starting on the free Community Build
- Teams gating pull requests on GitHub, GitLab, Bitbucket or Azure DevOps
- Engineering organizations reporting code quality across many projects
- Large code bases that need a high availability cluster
- Teams reviewing AI-generated code before it merges
- Security teams tracking hotspots, secrets and vulnerabilities in source code
Use cases
- Failing a CI build when new code breaks the Quality Gate
- Commenting on pull requests with new issues before merge
- Reviewing AI-generated code with AI Code Assurance
- Finding hardcoded secrets in a repository
- Flagging SQL injection and cross-site scripting through taint analysis
- Enforcing one rule set per language with Quality Profiles
- Tracking test coverage on new code across releases
- Scanning Terraform and Kubernetes files for misconfigurations
- Rolling quality results of many projects into one Portfolio report
- Producing compliance reports for regulated software
- Running analysis in a high availability cluster for a very large code base
- Checking C++ code against MISRA C++:2023
Screenshots & Videos
Explore SonarQube Server in action
User Reviews
Compare with Similar Software
Click to compare side by side with SonarQube Server