# KDE/krita SLOC report

> KDE/krita: 3,094,531 code lines at commit c8169f0afec8, counted with tokei-15.0.0 on 2026-11-16. Saved result 79e5a2900aab3ce86760376d95a6e4189cb325c3c8624aa88962404fb18b4ef2.

KDE/krita has 3,094,531 source lines of code out of 8,018,927 total lines across 8,231 files, counted with tokei from the master ref at commit c8169f0afec8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving KDE/krita to commit c8169f0afec8, 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

KDE/krita: 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 38.6% of all lines, comments represent 45.9%, and the repository averages 376 code lines per file. C++ is the largest programming language at 15.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 75 | 6,886,910 | 2,267,697 | 3,548,854 | 1,070,359 |
| C++ | 2,504 | 627,765 | 478,189 | 41,070 | 108,506 |
| C Header | 2,926 | 286,953 | 161,509 | 72,416 | 53,028 |
| SVG | 1,631 | 72,588 | 71,938 | 351 | 299 |
| XML | 48 | 50,706 | 49,909 | 111 | 686 |
| Python | 219 | 27,233 | 21,514 | 1,504 | 4,215 |
| CMake | 328 | 16,369 | 12,344 | 1,483 | 2,542 |
| QML | 83 | 12,340 | 9,400 | 1,548 | 1,392 |
| C | 9 | 9,779 | 6,992 | 1,631 | 1,156 |
| JSON | 178 | 3,404 | 3,384 | 0 | 20 |
| Java | 13 | 3,471 | 2,851 | 188 | 432 |
| HTML | 22 | 2,180 | 2,003 | 1 | 176 |
| YAML | 9 | 2,132 | 1,958 | 35 | 139 |
| Shell | 21 | 1,778 | 1,182 | 288 | 308 |
| C++ Header | 7 | 1,312 | 915 | 266 | 131 |
| Perl | 2 | 816 | 702 | 41 | 73 |
| Autoconf | 13 | 563 | 442 | 74 | 47 |
| Objective-C++ | 5 | 540 | 393 | 45 | 102 |
| Objective-C | 3 | 433 | 291 | 81 | 61 |
| GLSL | 21 | 498 | 263 | 119 | 116 |
| SQL | 31 | 218 | 200 | 9 | 9 |
| Swift | 5 | 319 | 122 | 151 | 46 |
| Scheme | 1 | 176 | 110 | 41 | 25 |
| JavaScript | 1 | 74 | 64 | 5 | 5 |
| Batch | 1 | 84 | 61 | 0 | 23 |
| Meson | 1 | 53 | 43 | 0 | 10 |
| BASH | 2 | 28 | 17 | 5 | 6 |
| Forge Config | 3 | 18 | 16 | 1 | 1 |
| Bitbake | 2 | 17 | 10 | 5 | 2 |
| Prolog | 1 | 10 | 8 | 0 | 2 |
| TOML | 1 | 4 | 4 | 0 | 0 |
| Markdown | 28 | 2,477 | 0 | 1,760 | 717 |
| Plain Text | 37 | 7,679 | 0 | 6,245 | 1,434 |

Top programming language: C++ 15.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/KDE/krita/commit/c8169f0afec8769ccb3860cbe070a747e83c0993?reportId=79e5a2900aab3ce86760376d95a6e4189cb325c3c8624aa88962404fb18b4ef2&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/KDE/krita/commit/c8169f0afec8769ccb3860cbe070a747e83c0993?reportId=79e5a2900aab3ce86760376d95a6e4189cb325c3c8624aa88962404fb18b4ef2&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 KDE/krita have?

KDE/krita has 3,094,531 lines of code, plus 3,678,328 comment lines and 1,246,068 blank lines, for 8,018,927 total lines at commit c8169f0afec8 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the KDE/krita line count measured?

OctoCounts resolved the public GitHub repository to commit c8169f0afec8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for KDE/krita?

This OctoCounts report was generated from master at commit c8169f0afec8 on November 16, 2026.

## Similar repository reports

- [DeclanRiedel/krita-mini](https://octocounts.com/github/DeclanRiedel/krita-mini) — PO File, 3,081,725 code lines
- [GNOME/gimp](https://octocounts.com/github/GNOME/gimp) — PO File, 2,768,392 code lines
- [videolan/vlc](https://octocounts.com/github/videolan/vlc) — PO File, 2,484,622 code lines
- [WeblateOrg/weblate](https://octocounts.com/github/WeblateOrg/weblate) — PO File, 2,442,109 code lines
- [aizhou01/metabase](https://octocounts.com/github/aizhou01/metabase) — PO File, 2,413,014 code lines
- [frappe/erpnext](https://octocounts.com/github/frappe/erpnext) — PO File, 1,991,352 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
