# swaywm/wlroots SLOC report

> As of 2026-10-11 (commit 0855cdacb2ee), swaywm/wlroots contains 84,790 total lines: 66,615 code, 5,640 comments, 12,535 blank, across 369 files in 8 languages (top: C 83.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

swaywm/wlroots has 66,615 source lines of code out of 84,790 total lines across 369 files, counted from the 0855cdacb2eeeff35849e2e9c4db0aa996d78d10 ref at commit 0855cdacb2ee by the OctoCounts tokei engine on 2026-10-11. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving swaywm/wlroots to commit 0855cdacb2ee, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## 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 at 2026-10-11T13:45:42.653311248+00:00. Canonical report: https://octocounts.com/github/swaywm/wlroots

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/swaywm/wlroots/commit/0855cdacb2eeeff35849e2e9c4db0aa996d78d10?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=1a4c1c4048f8cd00cb396ef77276256c596abdf190e89ae954ce1f530fdbb70c).

## Report FAQ

### How many lines of code does swaywm/wlroots have?

swaywm/wlroots has 84,790 total lines, including 66,615 code lines, 5,640 comment lines, and 12,535 blank lines.

### 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 2026-10-11T13:45:42.653311248+00:00.

## Similar repository reports

- [linux-pam/linux-pam](https://octocounts.com/github/linux-pam/linux-pam) — C, 69,310 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
- [gtownsend/icon](https://octocounts.com/github/gtownsend/icon) — C, 63,017 code lines
- [KernelSU-Next/KernelSU-Next](https://octocounts.com/github/KernelSU-Next/KernelSU-Next) — C, 73,006 code lines
- [mcu-tools/mcuboot](https://octocounts.com/github/mcu-tools/mcuboot) — C, 75,113 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)
- [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)
