swaywm/sway has 46,189 source lines of code out of 57,602 total lines across 355 files, counted from the 1652c54b73f67df17b7b4ab0b0f7048204aa8104 ref at commit 1652c54b73f6 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
swaywm/sway: 46,189 code lines at commit 1652c54b73f6, counted with tokei-14.0.0 on 2026-10-22. Saved result 46705a7bedf20b08d59a0a0d4b47b2a937f6d13859de4891054d388f40e1744e.
OctoCounts produced this report by resolving swaywm/sway to commit 1652c54b73f6, 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.
This is a medium-sized codebase by counted code lines. Code represents 80.2% of all lines, comments represent 6.8%, and the repository averages 130 code lines per file. C accounts for 89.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 242 | 48406 | 41091 | 1605 | 5710 |
| C Header | 61 | 5267 | 3446 | 733 | 1088 |
| Meson | 11 | 717 | 655 | 2 | 60 |
| XML | 2 | 535 | 485 | 3 | 47 |
| SVG | 5 | 340 | 335 | 5 | 0 |
| Autoconf | 1 | 241 | 96 | 118 | 27 |
| Fish | 3 | 66 | 57 | 4 | 5 |
| Shell | 1 | 32 | 24 | 1 | 7 |
| Markdown | 29 | 1998 | 0 | 1443 | 555 |
Top language (C 89.0%). Generated at .
swaywm/sway has 57,602 total lines, including 46,189 code lines, 3,914 comment lines, and 7,499 blank lines.
OctoCounts resolved the public GitHub repository to commit 1652c54b73f6, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from 1652c54b73f67df17b7b4ab0b0f7048204aa8104 at commit 1652c54b73f6 on 2026-10-22T00:19:00.934791957Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for swaywm/sway on this page — 46,189 code lines across 9 languages, counted by tokei.