qgis/QGIS has 9,411,073 source lines of code out of 10,434,838 total lines across 19,436 files, counted with tokei from the master ref at commit 59e30b51260e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 59e30b51260e), qgis/QGIS contains 10,434,838 total lines: 9,411,073 code, 503,055 comments, 520,710 blank, across 19,436 files in 36 languages (top language: TypeScript 75.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving qgis/QGIS to commit 59e30b51260e, 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 90.2% of all lines, comments represent 4.8%, and the repository averages 484 code lines per file. TypeScript accounts for 75.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 37 | 7069682 | 7054565 | 0 | 15117 |
| C++ | 3827 | 1751373 | 1357428 | 137887 | 256058 |
| C Header | 3988 | 864093 | 405575 | 328520 | 129998 |
| Autoconf | 1618 | 349504 | 250579 | 4899 | 94026 |
| Python | 1865 | 101254 | 86821 | 5451 | 8982 |
| SVG | 6786 | 78159 | 78100 | 11 | 48 |
| C++ Header | 178 | 57583 | 39844 | 10200 | 7539 |
| JSON | 30 | 36447 | 36436 | 0 | 11 |
| YAML | 5 | 31397 | 31397 | 0 | 0 |
| XML | 341 | 28933 | 27903 | 42 | 988 |
| CMake | 180 | 23076 | 18292 | 1790 | 2994 |
| C | 11 | 7825 | 5681 | 1176 | 968 |
Top language: TypeScript 75.0%. Generated on .
qgis/QGIS: 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.
qgis/QGIS has 9,411,073 lines of code, plus 503,055 comment lines and 520,710 blank lines, for 10,434,838 total lines at commit 59e30b51260e on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 59e30b51260e, 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 59e30b51260e on November 16, 2026.
Play the growth animation for qgis/QGIS on this page — 9,411,073 code lines across 36 languages, counted by tokei.