qt/qtbase

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++24551510073981557362040166476
C Header3221928770712449111114105207
C40466577244720413676181807
C++ Header290120327943601169614271
CMake631100343747981334712198
XML8754952523395732040
Objective-C++126632134652876659020
Python32171091447411191516
Java6212165949412021469
YAML7252494622393234
GNU Style Assembly653244008673643
JSON180339232900102

Top language: C++ 39.9%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does qt/qtbase have?

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.

How was the qt/qtbase line count measured?

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.

What commit was counted for qt/qtbase?

This OctoCounts report was generated from dev at commit de551ceff1c5 on November 16, 2026.

Play the growth animation for qt/qtbase on this page — 2,461,021 code lines across 36 languages, counted by tokei.