# XQuartz/wayland SLOC report

> As of 2026-08-26 (commit 61987d43c98c), XQuartz/wayland contains 23,494 total lines: 15,644 code, 4,843 comments, 3,007 blank, across 47 files in 11 languages (top: C 62.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

XQuartz/wayland has 15,644 source lines of code out of 23,494 total lines across 47 files, counted from the main-apple ref at commit 61987d43c98c by the OctoCounts tokei engine on 2026-08-26. 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 XQuartz/wayland to commit 61987d43c98c, 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 66.6% of all lines, comments represent 20.6%, and the repository averages 333 code lines per file. C accounts for 62.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 14 | 14,982 | 9,845 | 3,064 | 2,073 |
| XML | 2 | 3,494 | 3,231 | 13 | 250 |
| C Header | 16 | 3,635 | 1,782 | 1,409 | 444 |
| Meson | 5 | 579 | 489 | 22 | 68 |
| Python | 2 | 198 | 151 | 19 | 28 |
| Shell | 2 | 138 | 105 | 4 | 29 |
| Autoconf | 1 | 34 | 24 | 7 | 3 |
| M4 | 1 | 13 | 11 | 0 | 2 |
| Makefile | 1 | 8 | 6 | 0 | 2 |
| Markdown | 2 | 351 | 0 | 259 | 92 |
| Plain Text | 1 | 62 | 0 | 46 | 16 |

Top language (C 62.9%). Generated at 2026-08-26T07:56:56.234692703+00:00. Canonical report: https://octocounts.com/github/XQuartz/wayland

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/XQuartz/wayland/commit/61987d43c98cadc7d4c38d9d2b7e9f320841e5ab?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).

## Report FAQ

### How many lines of code does XQuartz/wayland have?

XQuartz/wayland has 23,494 total lines, including 15,644 code lines, 4,843 comment lines, and 3,007 blank lines.

### How was the XQuartz/wayland line count measured?

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

### What commit was counted for XQuartz/wayland?

This OctoCounts report was generated from main-apple at commit 61987d43c98c on 2026-08-26T07:56:56.234692703+00:00.

## Similar repository reports

- [rahadbhuiya/Yolish](https://octocounts.com/github/rahadbhuiya/Yolish) — C, 15,493 code lines
- [kmod-project/kmod](https://octocounts.com/github/kmod-project/kmod) — C, 18,274 code lines
- [chjj/compton](https://octocounts.com/github/chjj/compton) — C, 12,715 code lines
- [LittleWalter/spacecentricity-mk47](https://octocounts.com/github/LittleWalter/spacecentricity-mk47) — C, 12,572 code lines
- [baskerville/bspwm](https://octocounts.com/github/baskerville/bspwm) — C, 12,250 code lines
- [sailfishos-mirror/findutils](https://octocounts.com/github/sailfishos-mirror/findutils) — C, 19,393 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)
