qt/qtbase has 2,455,780 source lines of code out of 3,616,146 total lines across 8,282 files, counted with tokei from the dev ref at commit 7d69cf9bb229 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-07 (commit 7d69cf9bb229), qt/qtbase contains 3,616,146 total lines: 2,455,780 code, 757,665 comments, 402,701 blank, across 8,282 files in 36 languages (top language: C++ 39.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving qt/qtbase to commit 7d69cf9bb229, 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 very large codebase by counted code lines. Code represents 67.9% of all lines, comments represent 21.0%, and the repository averages 297 code lines per file. C++ accounts for 39.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2451 | 1506505 | 978935 | 361398 | 166172 |
| C Header | 3216 | 927999 | 711968 | 110953 | 105078 |
| C | 404 | 665271 | 446934 | 136626 | 81711 |
| C++ Header | 289 | 118109 | 92622 | 11358 | 14129 |
| CMake | 631 | 100212 | 74701 | 13322 | 12189 |
| XML | 87 | 54952 | 52339 | 573 | 2040 |
| Objective-C++ | 126 | 63204 | 46520 | 7665 | 9019 |
| Python | 32 | 17094 | 14460 | 1118 | 1516 |
| Java | 62 | 12165 | 9494 | 1202 | 1469 |
| YAML | 72 | 5240 | 4615 | 391 | 234 |
| GNU Style Assembly | 6 | 5324 | 4008 | 673 | 643 |
| JSON | 180 | 3391 | 3289 | 0 | 102 |
Top language: C++ 39.9%. Generated on .
qt/qtbase: 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.
qt/qtbase has 2,455,780 lines of code, plus 757,665 comment lines and 402,701 blank lines, for 3,616,146 total lines at commit 7d69cf9bb229 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 7d69cf9bb229, 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 dev at commit 7d69cf9bb229 on November 7, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for qt/qtbase on this page — 2,455,780 code lines across 36 languages, counted by tokei.