qt/qtbase has 2,461,021 source lines of code out of 3,623,373 total lines across 8,292 files, counted with tokei from the dev ref at commit de551ceff1c5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit de551ceff1c5), qt/qtbase contains 3,623,373 total lines: 2,461,021 code, 758,970 comments, 403,382 blank, across 8,292 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 de551ceff1c5, 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 20.9%, and the repository averages 297 code lines per file. C++ accounts for 39.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2455 | 1510073 | 981557 | 362040 | 166476 |
| C Header | 3221 | 928770 | 712449 | 111114 | 105207 |
| C | 404 | 665772 | 447204 | 136761 | 81807 |
| C++ Header | 290 | 120327 | 94360 | 11696 | 14271 |
| CMake | 631 | 100343 | 74798 | 13347 | 12198 |
| XML | 87 | 54952 | 52339 | 573 | 2040 |
| Objective-C++ | 126 | 63213 | 46528 | 7665 | 9020 |
| Python | 32 | 17109 | 14474 | 1119 | 1516 |
| Java | 62 | 12165 | 9494 | 1202 | 1469 |
| YAML | 72 | 5249 | 4622 | 393 | 234 |
| GNU Style Assembly | 6 | 5324 | 4008 | 673 | 643 |
| JSON | 180 | 3392 | 3290 | 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,461,021 lines of code, plus 758,970 comment lines and 403,382 blank lines, for 3,623,373 total lines at commit de551ceff1c5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit de551ceff1c5, 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 de551ceff1c5 on November 16, 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,461,021 code lines across 36 languages, counted by tokei.