# KDE/kwin SLOC report

> As of 2026-11-16 (commit d9580aa80b1f), KDE/kwin contains 1,272,250 total lines: 595,321 code, 470,137 comments, 206,792 blank, across 2,758 files in 16 languages (top programming language: C++ 36.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

KDE/kwin has 595,321 source lines of code out of 1,272,250 total lines across 2,758 files, counted with tokei from the master ref at commit d9580aa80b1f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving KDE/kwin to commit d9580aa80b1f, 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/kwin: 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 large codebase by counted code lines. Code represents 46.8% of all lines, comments represent 37.0%, and the repository averages 216 code lines per file. C++ is the largest programming language at 36.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 937 | 889,313 | 309,280 | 427,271 | 152,762 |
| C++ | 775 | 270,116 | 215,302 | 16,852 | 37,962 |
| C Header | 602 | 76,136 | 43,550 | 20,144 | 12,442 |
| JSON | 97 | 9,626 | 9,626 | 0 | 0 |
| QML | 56 | 9,267 | 7,514 | 519 | 1,234 |
| CMake | 144 | 5,731 | 4,419 | 552 | 760 |
| JavaScript | 47 | 2,756 | 2,285 | 273 | 198 |
| XML | 30 | 2,694 | 1,617 | 897 | 180 |
| GLSL | 24 | 1,231 | 864 | 166 | 201 |
| C | 2 | 691 | 475 | 132 | 84 |
| Autoconf | 6 | 231 | 218 | 6 | 7 |
| SVG | 2 | 137 | 136 | 1 | 0 |

Top programming language: C++ 36.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/KDE/kwin

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/KDE/kwin/commit/d9580aa80b1fb27bcd0143379f9b32cbae507aae?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=4e69ff5940befbb97c0175d6ef971d2e89221c61b42532bfa2583083f70c0518).

## Report FAQ

### How many lines of code does KDE/kwin have?

KDE/kwin has 595,321 lines of code, plus 470,137 comment lines and 206,792 blank lines, for 1,272,250 total lines at commit d9580aa80b1f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit d9580aa80b1f, 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/kwin?

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

## Similar repository reports

- [luanti-org/luanti](https://octocounts.com/github/luanti-org/luanti) — PO File, 646,246 code lines
- [guillemj/dpkg](https://octocounts.com/github/guillemj/dpkg) — PO File, 547,541 code lines
- [fish-shell/fish-shell](https://octocounts.com/github/fish-shell/fish-shell) — PO File, 678,909 code lines
- [SSSD/sssd](https://octocounts.com/github/SSSD/sssd) — PO File, 721,091 code lines
- [kobotoolbox/kpi](https://octocounts.com/github/kobotoolbox/kpi) — PO File, 725,326 code lines
- [frePPLe/frepple](https://octocounts.com/github/frePPLe/frepple) — PO File, 422,834 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)
