# swaywm/wlroots SLOC report

> swaywm/wlroots: 66,615 code lines at commit 0855cdacb2ee, counted with tokei-15.0.0 on 2026-11-09. Saved result 4c4ad56a0c2349799d7be4eebc7451897a41f62c9ea54c2c5881c9360b57957f.

swaywm/wlroots has 66,615 source lines of code out of 84,790 total lines across 369 files, counted with tokei from the 0855cdacb2eeeff35849e2e9c4db0aa996d78d10 ref at commit 0855cdacb2ee on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving swaywm/wlroots to commit 0855cdacb2ee, 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

swaywm/wlroots: 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 medium-sized codebase by counted code lines. Code represents 78.6% of all lines, comments represent 6.7%, and the repository averages 181 code lines per file. C accounts for 83.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 179 | 67,621 | 55,656 | 2,125 | 9,840 |
| C Header | 140 | 12,290 | 7,035 | 3,143 | 2,112 |
| XML | 15 | 3,339 | 2,945 | 30 | 364 |
| Meson | 26 | 1,033 | 920 | 17 | 96 |
| GLSL | 3 | 51 | 37 | 3 | 11 |
| Makefile | 1 | 30 | 22 | 3 | 5 |
| Autoconf | 2 | 26 | 0 | 17 | 9 |
| Markdown | 3 | 400 | 0 | 302 | 98 |

Top language: C 83.5%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/swaywm/wlroots/commit/0855cdacb2eeeff35849e2e9c4db0aa996d78d10?reportId=4c4ad56a0c2349799d7be4eebc7451897a41f62c9ea54c2c5881c9360b57957f&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/swaywm/wlroots/commit/0855cdacb2eeeff35849e2e9c4db0aa996d78d10?reportId=4c4ad56a0c2349799d7be4eebc7451897a41f62c9ea54c2c5881c9360b57957f&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 swaywm/wlroots have?

swaywm/wlroots has 66,615 lines of code, plus 5,640 comment lines and 12,535 blank lines, for 84,790 total lines at commit 0855cdacb2ee on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the swaywm/wlroots line count measured?

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

### What commit was counted for swaywm/wlroots?

This OctoCounts report was generated from 0855cdacb2eeeff35849e2e9c4db0aa996d78d10 at commit 0855cdacb2ee on November 9, 2026.

## Similar repository reports

- [xiph/flac](https://octocounts.com/github/xiph/flac) — C, 66,630 code lines
- [RsyncProject/rsync](https://octocounts.com/github/RsyncProject/rsync) — C, 66,001 code lines
- [Oleh-Kravchenko/reaver](https://octocounts.com/github/Oleh-Kravchenko/reaver) — C, 65,574 code lines
- [ry-diffusion/Bergamota](https://octocounts.com/github/ry-diffusion/Bergamota) — C, 67,754 code lines
- [irssi/irssi](https://octocounts.com/github/irssi/irssi) — C, 69,462 code lines
- [ARARAT33/AWEOSdemo](https://octocounts.com/github/ARARAT33/AWEOSdemo) — C, 63,775 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
