qgis/QGIS has 9,220,987 source lines of code out of 10,148,358 total lines across 18,852 files, counted with tokei from the master ref at commit 84d69f190fba on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-09 (commit 84d69f190fba), qgis/QGIS contains 10,148,358 total lines: 9,220,987 code, 458,900 comments, 468,471 blank, across 18,852 files in 36 languages (top language: TypeScript 76.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving qgis/QGIS to commit 84d69f190fba, 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.9% of all lines, comments represent 4.5%, and the repository averages 489 code lines per file. TypeScript accounts for 76.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 37 | 7069682 | 7054565 | 0 | 15117 |
| C++ | 3589 | 1602076 | 1248348 | 125302 | 228426 |
| C Header | 3671 | 732371 | 328607 | 297459 | 106305 |
| Autoconf | 1614 | 347624 | 249153 | 4870 | 93601 |
| Python | 1861 | 100870 | 86472 | 5429 | 8969 |
| SVG | 6786 | 78159 | 78100 | 11 | 48 |
| C++ Header | 178 | 57583 | 39844 | 10200 | 7539 |
| JSON | 29 | 36381 | 36375 | 0 | 6 |
| YAML | 5 | 31241 | 31241 | 0 | 0 |
| XML | 341 | 28933 | 27903 | 42 | 988 |
| CMake | 177 | 20983 | 16582 | 1639 | 2762 |
| C | 11 | 7825 | 5681 | 1176 | 968 |
Top language: TypeScript 76.5%. 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,220,987 lines of code, plus 458,900 comment lines and 468,471 blank lines, for 10,148,358 total lines at commit 84d69f190fba on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 84d69f190fba, 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 84d69f190fba on November 9, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for qgis/QGIS on this page — 9,220,987 code lines across 36 languages, counted by tokei.