SonarSource/sonarqube has 474,918 source lines of code out of 704,178 total lines across 6,226 files, counted with tokei from the master ref at commit e65c875393a2 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-13 (commit e65c875393a2), SonarSource/sonarqube contains 704,178 total lines: 474,918 code, 138,822 comments, 90,438 blank, across 6,226 files in 15 languages (top language: Java 90.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving SonarSource/sonarqube to commit e65c875393a2, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 67.4% of all lines, comments represent 19.7%, and the repository averages 76 code lines per file. Java accounts for 90.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 5635 | 653797 | 430023 | 136664 | 87110 |
| JSON | 311 | 24872 | 24361 | 0 | 511 |
| XML | 124 | 17092 | 15206 | 261 | 1625 |
| Protocol Buffers | 47 | 4412 | 2936 | 842 | 634 |
| Shell | 19 | 1384 | 940 | 239 | 205 |
| Groovy | 7 | 509 | 393 | 58 | 58 |
| Apache Velocity | 5 | 344 | 316 | 0 | 28 |
| SVG | 7 | 216 | 212 | 4 | 0 |
| Batch | 4 | 235 | 193 | 0 | 42 |
| HTML | 5 | 173 | 162 | 0 | 11 |
| SQL | 9 | 83 | 80 | 0 | 3 |
| Ruby | 12 | 352 | 62 | 264 | 26 |
Top language: Java 90.5%. Generated on .
SonarSource/sonarqube: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
SonarSource/sonarqube has 474,918 lines of code, plus 138,822 comment lines and 90,438 blank lines, for 704,178 total lines at commit e65c875393a2 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit e65c875393a2, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit e65c875393a2 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for SonarSource/sonarqube on this page — 474,918 code lines across 15 languages, counted by tokei.