# mesonbuild/meson SLOC report

> mesonbuild/meson: 146,016 code lines at commit 8f62bd38bab6, counted with tokei-15.0.0 on 2026-11-23. Saved result a8e5d379e721f8a9ea567f9cfb9bc9cd7bb6e816d6ad0453c131084ecfc26a41.

Source: [mesonbuild/meson on GitHub](https://github.com/mesonbuild/meson) · counted commit [8f62bd38bab6](https://github.com/mesonbuild/meson/tree/8f62bd38bab67f1015ac8ff7ca5426e8bc089b46)

mesonbuild/meson has 146,016 source lines of code out of 188,381 total lines across 4,923 files, counted with tokei from the master ref at commit 8f62bd38bab6 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving mesonbuild/meson to commit 8f62bd38bab6, 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

mesonbuild/meson: 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 77.5% of all lines, comments represent 8.0%, and the repository averages 30 code lines per file. Python accounts for 70.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 546 | 130,453 | 102,455 | 10,100 | 17,898 |
| Meson | 1,627 | 26,066 | 18,961 | 2,165 | 4,940 |
| C | 954 | 10,281 | 8,141 | 625 | 1,515 |
| JSON | 408 | 5,010 | 4,979 | 0 | 31 |
| C++ | 210 | 2,781 | 2,145 | 123 | 513 |
| C Header | 238 | 2,143 | 1,453 | 244 | 446 |
| CMake | 54 | 1,368 | 991 | 86 | 291 |
| Rust | 151 | 927 | 769 | 29 | 129 |
| Autoconf | 108 | 865 | 579 | 135 | 151 |
| FORTRAN Modern | 58 | 738 | 512 | 15 | 211 |
| TOML | 59 | 646 | 477 | 38 | 131 |
| C++ Header | 61 | 626 | 446 | 46 | 134 |
| SVG | 2 | 429 | 425 | 2 | 2 |
| Shell | 21 | 688 | 401 | 162 | 125 |
| Vala | 49 | 481 | 397 | 6 | 78 |
| CUDA | 23 | 470 | 379 | 1 | 90 |
| D | 30 | 440 | 344 | 12 | 84 |
| Vim Script | 4 | 385 | 331 | 33 | 21 |
| HTML | 4 | 253 | 218 | 0 | 35 |
| GNU Style Assembly | 15 | 244 | 186 | 4 | 54 |
| Java | 19 | 201 | 162 | 0 | 39 |
| XML | 13 | 133 | 125 | 0 | 8 |
| PO File | 6 | 146 | 95 | 37 | 14 |
| PowerShell | 2 | 131 | 88 | 18 | 25 |
| Assembly | 7 | 114 | 81 | 14 | 19 |
| YAML | 1 | 102 | 81 | 13 | 8 |
| Objective-C++ | 8 | 97 | 76 | 0 | 21 |
| Cython | 14 | 95 | 74 | 0 | 21 |
| TypeScript | 6 | 72 | 72 | 0 | 0 |
| QML | 6 | 83 | 71 | 0 | 12 |
| Objective-C | 11 | 79 | 64 | 0 | 15 |
| C# | 8 | 71 | 62 | 0 | 9 |
| Swift | 24 | 78 | 61 | 3 | 14 |
| Forge Config | 1 | 65 | 58 | 1 | 6 |
| INI | 16 | 98 | 46 | 39 | 13 |
| Module-Definition | 19 | 39 | 39 | 0 | 0 |
| Batch | 6 | 51 | 36 | 8 | 7 |
| .NET Resource | 1 | 31 | 31 | 0 | 0 |
| Coq | 1 | 32 | 28 | 0 | 4 |
| Protocol Buffers | 4 | 27 | 20 | 0 | 7 |
| FORTRAN Legacy | 2 | 19 | 13 | 0 | 6 |
| Lex | 2 | 16 | 13 | 0 | 3 |
| Happy | 1 | 14 | 11 | 0 | 3 |
| Automake | 5 | 23 | 8 | 8 | 7 |
| JavaScript | 1 | 6 | 6 | 0 | 0 |
| LLVM | 1 | 4 | 4 | 0 | 0 |
| Alex | 1 | 2 | 2 | 0 | 0 |
| Markdown | 5 | 171 | 0 | 124 | 47 |
| Plain Text | 109 | 1,087 | 0 | 979 | 108 |
| Templ | 1 | 0 | 0 | 0 | 0 |

Top language: Python 70.2%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/mesonbuild/meson/commit/8f62bd38bab67f1015ac8ff7ca5426e8bc089b46?reportId=a8e5d379e721f8a9ea567f9cfb9bc9cd7bb6e816d6ad0453c131084ecfc26a41&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/mesonbuild/meson/commit/8f62bd38bab67f1015ac8ff7ca5426e8bc089b46?reportId=a8e5d379e721f8a9ea567f9cfb9bc9cd7bb6e816d6ad0453c131084ecfc26a41&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 mesonbuild/meson have?

mesonbuild/meson has 146,016 lines of code, plus 15,070 comment lines and 27,295 blank lines, for 188,381 total lines at commit 8f62bd38bab6 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the mesonbuild/meson line count measured?

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

### What commit was counted for mesonbuild/meson?

This OctoCounts report was generated from master at commit 8f62bd38bab6 on November 23, 2026.

## Similar repository reports

- [twisted/twisted](https://octocounts.com/github/twisted/twisted) — Python, 146,973 code lines
- [iws3/MarkGPT](https://octocounts.com/github/iws3/MarkGPT) — Python, 149,266 code lines
- [OppaAI/Aiko-chan](https://octocounts.com/github/OppaAI/Aiko-chan) — Python, 149,352 code lines
- [Black0ffR/bb-toolchain-v2](https://octocounts.com/github/Black0ffR/bb-toolchain-v2) — Python, 142,177 code lines
- [henriquesebastiao/downtify](https://octocounts.com/github/henriquesebastiao/downtify) — Python, 142,085 code lines
- [Ariwa042/Consignment-Site](https://octocounts.com/github/Ariwa042/Consignment-Site) — Python, 141,692 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [CMake vs Meson](https://octocounts.com/compare/cmake-vs-meson)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
