# qgis/QGIS SLOC report

> qgis/QGIS: 9,220,987 code lines at commit 84d69f190fba, counted with tokei-15.0.0 on 2026-11-09. Saved result 147b12ccdef81de6e53439085791135397e8d9b121399e6d7401e061e4b3d328.

Source: [qgis/QGIS on GitHub](https://github.com/qgis/QGIS) · counted commit [84d69f190fba](https://github.com/qgis/QGIS/tree/84d69f190fbae3db60640c44957487ca08eff0a6)

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 7,069,682 | 7,054,565 | 0 | 15,117 |
| C++ | 3,589 | 1,602,076 | 1,248,348 | 125,302 | 228,426 |
| C Header | 3,671 | 732,371 | 328,607 | 297,459 | 106,305 |
| Autoconf | 1,614 | 347,624 | 249,153 | 4,870 | 93,601 |
| Python | 1,861 | 100,870 | 86,472 | 5,429 | 8,969 |
| SVG | 6,786 | 78,159 | 78,100 | 11 | 48 |
| C++ Header | 178 | 57,583 | 39,844 | 10,200 | 7,539 |
| JSON | 29 | 36,381 | 36,375 | 0 | 6 |
| YAML | 5 | 31,241 | 31,241 | 0 | 0 |
| XML | 341 | 28,933 | 27,903 | 42 | 988 |
| CMake | 177 | 20,983 | 16,582 | 1,639 | 2,762 |
| C | 11 | 7,825 | 5,681 | 1,176 | 968 |
| QML | 11 | 3,625 | 3,337 | 67 | 221 |
| Snakemake | 1 | 2,669 | 2,661 | 8 | 0 |
| GLSL | 43 | 3,274 | 2,369 | 292 | 613 |
| Shell | 40 | 3,365 | 2,291 | 597 | 477 |
| Perl | 14 | 2,549 | 2,095 | 242 | 212 |
| Gml | 1 | 1,121 | 1,121 | 0 | 0 |
| LLVM | 6 | 1,194 | 1,121 | 0 | 73 |
| HTML | 20 | 976 | 887 | 21 | 68 |
| JavaScript | 9 | 605 | 462 | 102 | 41 |
| Nix | 4 | 679 | 430 | 187 | 62 |
| OpenCL | 8 | 469 | 411 | 0 | 58 |
| Vue | 12 | 436 | 270 | 134 | 32 |
| INI | 3 | 383 | 182 | 129 | 72 |
| Forge Config | 2 | 157 | 117 | 33 | 7 |
| Objective-C++ | 2 | 205 | 111 | 67 | 27 |
| CSS | 3 | 125 | 109 | 0 | 16 |
| Batch | 3 | 46 | 40 | 0 | 6 |
| Protocol Buffers | 1 | 82 | 38 | 25 | 19 |
| BASH | 2 | 48 | 22 | 17 | 9 |
| TOML | 1 | 27 | 21 | 0 | 6 |
| ReStructuredText | 1 | 19 | 15 | 0 | 4 |
| Prolog | 1 | 10 | 6 | 0 | 4 |
| Markdown | 28 | 8,014 | 0 | 6,468 | 1,546 |
| Plain Text | 337 | 4,552 | 0 | 4,383 | 169 |

Top language: TypeScript 76.5%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/qgis/QGIS/commit/84d69f190fbae3db60640c44957487ca08eff0a6?reportId=147b12ccdef81de6e53439085791135397e8d9b121399e6d7401e061e4b3d328&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/qgis/QGIS/commit/84d69f190fbae3db60640c44957487ca08eff0a6?reportId=147b12ccdef81de6e53439085791135397e8d9b121399e6d7401e061e4b3d328&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does qgis/QGIS have?

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.

### How was the qgis/QGIS line count measured?

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.

### What commit was counted for qgis/QGIS?

This OctoCounts report was generated from master at commit 84d69f190fba on November 9, 2026.

## Similar repository reports

- [googleapis/google-cloud-node](https://octocounts.com/github/googleapis/google-cloud-node) — TypeScript, 7,915,047 code lines
- [openclaw/openclaw](https://octocounts.com/github/openclaw/openclaw) — TypeScript, 12,221,730 code lines
- [OneUptime/oneuptime](https://octocounts.com/github/OneUptime/oneuptime) — TypeScript, 13,529,651 code lines
- [FreeCAD/FreeCAD](https://octocounts.com/github/FreeCAD/FreeCAD) — TypeScript, 7,126,250 code lines
- [BuilderIO/agent-native](https://octocounts.com/github/BuilderIO/agent-native) — TypeScript, 7,006,531 code lines
- [elastic/kibana](https://octocounts.com/github/elastic/kibana) — TypeScript, 13,956,903 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
