SonarQube Enterprise: choosing an edition and a licence
Choosing between SonarQube Community Build, Developer, Enterprise, Data Center and Cloud, and how lines of code are counted for a licence quote.
By UNIXDEV Team · 13 min read
Original published · English edition
Organisations with several teams, more than one DevOps platform instance, legacy code such as COBOL or VB6, or a need for reports mapped to security standards should choose SonarQube Server™ Enterprise edition. A team that only needs branch and pull request analysis before merge is served by Developer edition. Data Center edition is needed when the service must keep running if a node fails.
SonarQube is SonarSource's platform for code quality and code security. It analyses source code statically, without running the program. Its central idea is the quality gate, which SonarSource's documentation defines as "a set of conditions against which the code is measured during analysis": the code passes or fails, and the team uses the result to decide whether to fix issues or merge. SonarQube can run on your own infrastructure (SonarQube Server and Community Build) or as a SaaS (SonarQube Cloud).
The product names changed on 29 October 2024, according to SonarSource's press release: SonarQube became SonarQube Server, SonarCloud became SonarQube Cloud, SonarLint became SonarQube for IDE, and SonarQube Community Edition became SonarQube Community Build. Many installation guides still use the old names; this article uses the new ones.
The cover shows the four self-managed tiers of SonarQube, from Community Build to Data Center, beside the LOC meter that sizes a paid licence.
SonarQube products: Community Build, Server and Cloud
SonarQube comes in two operating models: self-managed and SaaS. According to SonarSource's Server versus Cloud page, with SonarQube Server "you install, host, upgrade, back up, and secure the instance yourself (on-prem or in your own cloud)", and you control where the data lives. SonarQube Cloud is "fully hosted and operated by Sonar", with data in Sonar's cloud regions.
- SonarQube Community Build is free and open source and self-managed. Its feature comparison table lists branch analysis as "Main branch only", with no pull request analysis, no quality gate status on pull requests and no detection of injection vulnerabilities (flaws where user input reaches a dangerous call, such as SQL injection). Custom quality profiles (the set of rules each language is checked against) and quality gates are included.
- SonarQube Server is the paid self-managed product, in three editions, Developer, Enterprise and Data Center, according to the 2026.5 editions page. All are licensed per instance (one installation of SonarQube Server) per year based on LOC.
- SonarQube Cloud is a subscription per organisation, billed monthly or yearly based on private LOC, with Free, Team and Enterprise plans. It suits teams that do not want to run a server and whose policy allows code and analysis results to sit with a cloud provider.
So the first question is not which edition but whether code and analysis results may leave your network. If they may not, the choice narrows to Community Build or SonarQube Server. Thai government agencies and regulated companies should check their own rules on where source code may be stored before comparing editions.
What Enterprise adds over Developer, and Data Center over Enterprise
Enterprise adds governance across many teams; the main difference in Data Center is a clustered deployment. SonarSource's editions page positions Developer for "Small teams / business units running a single instance", Enterprise for "Larger organizations with many teams and projects" with a focus on "Centralized governance, portfolios, compliance/security reporting", and Data Center for "Very large/mission-critical deployments needing High Availability (HA) and horizontal scale".
| Capability | Developer | Enterprise | Data Center |
|---|---|---|---|
| Branch/PR analysis, injection detection, SAML SSO | Yes | Yes | Yes |
| Multiple DevOps platform instances and monorepo integration | No | Yes | Yes |
| Portfolios, project and portfolio dashboards | No | Yes | Yes |
| Compliance reports, regulatory reports and project PDF reports | No | Yes | Yes |
| Audit logs and SCIM user auto-provisioning | No | Yes | Yes |
| Apex, COBOL, Gosu, JCL, MuleSoft DataWeave, PL/I, RPG and VB6 | No | Yes | Yes |
| Clustered deployment for high availability | No | No | Yes |
| Advanced Security (SCA and Advanced SAST) | No | Add-on | Add-on |
Terms in the table: SAML SSO is single sign-on through your organisation's identity provider; a monorepo is one repository that holds several projects; a portfolio tracks releasability and ratings across several projects; SCIM is the protocol an identity provider uses to create and manage SonarQube user accounts automatically; audit logs record security-related changes to the instance; and SCA (software composition analysis) checks the libraries a project uses for known vulnerabilities. Developer does have Applications, which aggregate several projects, but no portfolios.
One DevOps platform detail is worth checking early. The pricing page says Developer "Supports one integration each" for GitHub, GitLab, Bitbucket and Azure DevOps, while Enterprise can "Integrate with unlimited numbers of DevOps platforms". If you run two GitLab instances, for example one for the main organisation and one for outsourced projects, you need Enterprise or above.
For Data Center, the topology documentation describes two application nodes, three search nodes, a load balancer and a PostgreSQL, Oracle or Microsoft SQL Server database, where "one application node and one search node can be lost without impacting users". The documentation recommends one machine per node, so that is at least five machines to operate and upgrade, besides the load balancer and database. Data Center pays off when a SonarQube outage would actually stop several teams' pipelines from merging or deploying.
Which edition fits: a decision table
Choose by your strictest requirement: if any single row needs Enterprise, you need Enterprise even if every other row fits Developer. The table is UNIXDEV's engineering view, matching needs to capabilities in SonarSource's documentation.
| If you… | Option | Reason from the documentation |
|---|---|---|
| Are trying it out, or analysing the main branch is enough | Community Build | Free; main branch only |
| Work through merge requests (GitLab's name for pull requests) and want results before merge | Developer | Branch and pull request analysis, quality gate status on pull requests |
| Run more than one GitLab or GitHub instance, or use monorepos | Enterprise | Developer lacks multiple DevOps platform instances and monorepo integration |
| Need to analyse COBOL, VB6, PL/I, RPG, JCL or Apex | Enterprise | These languages are Enterprise and Data Center only |
| Need portfolio-level views across teams for management, or reports against security standards | Enterprise | Portfolios, compliance reports and regulatory reports start at Enterprise; Developer has Applications, which aggregate projects, but no portfolios |
| Need audit logs or user provisioning from an identity provider | Enterprise | Audit logs and SCIM are not in Developer |
| Cannot tolerate SonarQube downtime because many teams' pipelines wait on it | Data Center | The cluster tolerates losing a node |
| Cannot let code leave your network | Community Build or a Server edition | Self-managed, you choose where data lives; Cloud keeps data in Sonar's regions |
| Do not want to run a server, and policy allows SaaS | SonarQube Cloud | Operated by SonarSource |
Analysing COBOL or VB6 code is also a useful baseline before deciding whether to keep or modernise a legacy system; see keeping an unsupported legacy system running safely.
How the SonarQube Server licence is counted
Every paid edition is licensed per instance, per year, by the maximum LOC the instance may analyse. The pricing page defines an instance as "an installation of SonarQube Server", so a production server and a test server are two instances. The same page publishes no Server prices and asks you to contact sales.
The 2026.5 lines-of-code documentation sets three counting rules:
- Each project counts its largest branch or pull request, from the most recent analysis. The documentation warns that "The largest branch or pull request is not always the main branch."
- Excluded: test code, files excluded from analysis, code in unsupported languages, and comments or blank lines.
- The instance total is the sum over projects. The documentation's example: Project1 has 500 lines on main and 400 on another branch, so it counts 500; Project2 has nothing on main and 200 on another branch, so it counts 200; the total is 700.
When the total would exceed the licence, the same page says the instance "will reject any analysis whose total lines of code exceed the limit", while browsing projects and saving configuration still work. In a pipeline where the quality gate blocks merges, that means the team's work stalls. Enterprise and Data Center instances with online licence activation and continuous connectivity to SonarSource's licensing service can turn on LOC overage, which keeps analysing beyond the limit without waiting for a licence upgrade.
SonarQube Server can run on a closed network: SonarSource's plans page lists "Air-gapped deployment options available". For a server on a closed network, the licence administration documentation provides offline activation for instances that cannot reach SonarSource's licensing endpoint, and states that "An instance activated offline is never eligible for overage." If you choose a closed network, size the licence with more room than an online-activated instance would need.
What to collect before you ask for a quote
The price depends on the edition, the LOC tier and the number of instances. Having these numbers ready gives a quote that matches real use and makes a mid-term licence extension less likely.
- The repositories to analyse, grouped into projects as they will appear in SonarQube.
- The LOC of each repository's largest branch, not just main, without test code and files you will exclude from analysis (generated code counts unless you exclude it). If you already have a SonarQube Server, such as a trial instance, a user with the Administer System permission can call the Web API endpoint
api/projects/license_usageto list each project's counted branch and LOC. Community Build results only reflect the main branch, and if your code includes languages Community Build does not analyse, such as C, C++, PL/SQL or COBOL (see the editions page), those are not counted, so the figure understates what an edition that supports them would count. - The languages in use, especially COBOL, VB6, PL/I, RPG, JCL, Apex, Gosu or MuleSoft DataWeave, which need Enterprise or above.
- The number of DevOps platform instances: how many self-managed GitLab servers, how many GitHub or Bitbucket instances, and whether you use monorepos.
- The total number of instances, including any test or staging server. The pricing page says testing and staging environments use "additional licenses", and the licence administration page says a staging licence "is available in Enterprise and Data Center editions, or in editions with commercial support".
- Whether you need high availability. If so, specify Data Center and plan machines for the cluster topology.
- Online or offline activation, which decides whether LOC overage is available.
- Whether you need Advanced Security, which is a separate subscription.
- The support level you want. The pricing page says Base Support is included with every plan and commercial support can be added.
- Growth headroom, which you set from your own plans for the licence year, such as new systems to be built or existing systems to be brought into analysis.
For Thai government agencies that budget an annual licence alongside system maintenance (MA), next-year budgeting after the warranty period ends is covered in our guide to Thai government IT procurement and e-GP, the government's electronic procurement system.
Using SonarQube reports as acceptance evidence
SonarQube reports can support an acceptance decision, but they are not a certificate that a system is secure. Compliance reports, "available starting in Enterprise edition", map findings to standards such as the OWASP Top 10, OWASP ASVS, the CWE Top 25 and PCI DSS, and can be downloaded as PDF for projects and applications. A regulatory report is a ZIP snapshot of a branch's most recent analysis with its quality gate status, ratings and the distribution of issues in new and overall code.
The documentation states the limit a reviewer needs to know: "if there are no rules corresponding to a given OWASP category activated in your quality profile, you will not get issues linked to that specific category". An empty category may mean it was not checked.
In practice, the contract or terms of reference (TOR, the specification in a Thai public tender) should name the quality profile and quality gate used on the delivered branch, and ask the vendor for that branch's regulatory report at each milestone. That branch must be set as a permanent branch (Keep when inactive): the regulatory report documentation says a report can be downloaded only for that kind of branch. Reviewers treat the report as evidence alongside code review and testing, not as a pass or fail on its own.
- Which ASVS level to require and what other security evidence to ask for: keeping a software project on budget
- Acceptance criteria in a quote request: preparing information for a software quote
- Public-sector requirements: the Thai government IT procurement guide
- Other checks a pipeline should run: technical debt in the AI era
How UNIXDEV can help
UNIXDEV sells SonarQube Server licences in the Developer, Enterprise and Data Center editions, installs SonarQube Server in your environment, and integrates it with CI such as GitLab CI or Jenkins as part of our DevOps and SRE work. With your team we estimate LOC and choose the edition using the list above, set the quality profile and quality gate to the criteria you agree, and plan upgrades and backups for the server. The details are on our SonarQube Server page.
For a quote, send your repository list with estimated LOC, the languages in use, the number of DevOps platform instances and the number of instances you need through our proposal request page.
Status as of 4 December 2026
Editions, languages and licence terms change with releases and SonarSource policy. Check the source pages before using these details in your own documents.
| Item | Status per source | Source |
|---|---|---|
| LTA release | SonarQube Server 2026.5 LTA announced generally available on 29 Sep 2026; the LTA page named 2026.5 as the LTA on the date checked. The previous LTA stays active for up to 6 months after a new LTA ships; Enterprise and Data Center customers with Enterprise Support may receive patches for an additional 6 months per the patch policy. | Press release · LTA |
| Editions and licensing | Developer, Enterprise, Data Center; per instance per year based on LOC; no published prices | Editions 2026.5 · Pricing |
| Recommended size and language counts | Pricing page: Developer "Recommended for 100K+ lines of code", 40 languages & frameworks; Enterprise "Recommended for 1M+ lines of code", 48 total languages & frameworks | Pricing |
| Enterprise and Data Center only languages | Apex, COBOL, Gosu, JCL, MuleSoft DataWeave, PL/I, RPG, VB6 | Editions 2026.5 |
| Standards in compliance reports | OWASP Top 10 (2025, 2021, 2017), OWASP Mobile Top 10 2024, CWE Top 25 (2024 to 2021), CASA, OWASP ASVS (5.0 and 4.0, levels 1 to 3), OWASP MASVS, OWASP Top 10 for LLM Applications 2025, PCI DSS (4.0, 3.2.1), STIG ASD (V6, V5), EU Cyber Resilience Act, MISRA C++:2023, WCAG 2.0/2.1/2.2 | Compliance reports 2026.5 |
| Advanced Security | SCA and Advanced SAST share one Advanced Security subscription, not included in any edition | Editions 2026.5 |
| LOC overage and staging licences | Overage on Enterprise and Data Center with online activation and continuous connectivity to the licensing service; staging licence in Enterprise and Data Center, or editions with commercial support | Lines of code · Licence administration |
| Support | Base Support included with every plan; "Standard commercial support available"; the Enterprise column adds "24/7 premium commercial support available" | Pricing |
Sources and further reading
- SonarSource Docs: SonarQube Server editions (2026.5)
- SonarSource: SonarQube Server plans and pricing · Community Build
- SonarSource Docs: Community Build feature comparison table
- SonarSource Docs: SonarQube Server versus SonarQube Cloud
- SonarSource Docs: Lines of code · License administration
- SonarSource Docs: Data Center Edition topology
- SonarSource Docs: Compliance reports · Regulatory reports
- SonarSource Docs: Introduction to quality gates
- SonarSource Docs: Portfolios · SCIM overview · Audit logs
- SonarSource: product naming press release (29 Oct 2024) · 2026.5 LTA release · LTA
- Related service: DevOps, SRE and managed services
- Related: technical debt in the AI era
- Related: keeping a software project on budget
- Related: preparing information for a software quote
- Related: Thai government IT procurement and e-GP
- All articles on DevOps and enterprise system operations
SonarQube Server™, SonarQube Cloud™ and SonarQube for IDE™ are trademarks of SonarSource SA. The products described in this article are SonarSource software, not UNIXDEV products.
Sources checked on 2026-12-04
How we checked: based on the primary sources above, reviewed by the UNIXDEV team