# GNOME/mutter SLOC report

> As of 2026-11-16 (commit cc51edc56e3c), GNOME/mutter contains 683,070 total lines: 410,048 code, 158,977 comments, 114,045 blank, across 1,464 files in 13 languages (top language: C 69.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

GNOME/mutter has 410,048 source lines of code out of 683,070 total lines across 1,464 files, counted with tokei from the main ref at commit cc51edc56e3c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving GNOME/mutter to commit cc51edc56e3c, 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

GNOME/mutter: 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 60.0% of all lines, comments represent 23.3%, and the repository averages 280 code lines per file. C accounts for 69.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 562 | 387,719 | 282,860 | 43,462 | 61,397 |
| PO File | 103 | 206,077 | 79,038 | 86,003 | 41,036 |
| C Header | 719 | 74,836 | 38,718 | 25,672 | 10,446 |
| Meson | 20 | 3,461 | 3,110 | 30 | 321 |
| Python | 9 | 2,848 | 2,334 | 80 | 434 |
| XML | 25 | 3,173 | 1,649 | 1,295 | 229 |
| SVG | 5 | 1,637 | 1,635 | 1 | 1 |
| Autoconf | 15 | 705 | 539 | 33 | 133 |
| Snakemake | 1 | 117 | 117 | 0 | 0 |
| Forge Config | 1 | 162 | 42 | 89 | 31 |
| CSS | 2 | 6 | 6 | 0 | 0 |
| Markdown | 1 | 59 | 0 | 42 | 17 |

Top language: C 69.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/GNOME/mutter

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/GNOME/mutter/commit/cc51edc56e3c3ca593d5cf11d522859aec8fd6f3?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=31da7f0b91934b165c23ac525ac7f59b5a299234f47a37c4497d4426f85b2175).

## Report FAQ

### How many lines of code does GNOME/mutter have?

GNOME/mutter has 410,048 lines of code, plus 158,977 comment lines and 114,045 blank lines, for 683,070 total lines at commit cc51edc56e3c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the GNOME/mutter line count measured?

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

### What commit was counted for GNOME/mutter?

This OctoCounts report was generated from main at commit cc51edc56e3c on November 16, 2026.

## Similar repository reports

- [throneproj/Throne](https://octocounts.com/github/throneproj/Throne) — C, 404,484 code lines
- [AZed/cdo](https://octocounts.com/github/AZed/cdo) — C, 404,451 code lines
- [colbymchenry/codegraph](https://octocounts.com/github/colbymchenry/codegraph) — C, 420,386 code lines
- [otya128/winevdm](https://octocounts.com/github/otya128/winevdm) — C, 398,791 code lines
- [weechat/weechat](https://octocounts.com/github/weechat/weechat) — C, 422,521 code lines
- [NetHack/NetHack](https://octocounts.com/github/NetHack/NetHack) — C, 395,780 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)
