# mesonbuild/meson SLOC report

> As of 2026-08-26 (commit 6db2b663af92), mesonbuild/meson contains 182,698 total lines: 141,659 code, 14,534 comments, 26,505 blank, across 4,742 files in 50 languages (top: Python 70.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

mesonbuild/meson has 141,659 source lines of code out of 182,698 total lines across 4,742 files, counted from the master ref at commit 6db2b663af92 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 mesonbuild/meson to commit 6db2b663af92, 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 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.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 534 | 126,301 | 99,245 | 9,720 | 17,336 |
| Meson | 1,578 | 25,406 | 18,478 | 2,097 | 4,831 |
| C | 931 | 10,089 | 7,987 | 621 | 1,481 |
| JSON | 393 | 4,882 | 4,851 | 0 | 31 |
| C++ | 204 | 2,676 | 2,067 | 117 | 492 |
| C Header | 234 | 2,132 | 1,445 | 244 | 443 |
| CMake | 53 | 1,342 | 970 | 85 | 287 |
| Rust | 121 | 858 | 705 | 29 | 124 |
| Autoconf | 108 | 865 | 579 | 135 | 151 |
| FORTRAN Modern | 56 | 729 | 503 | 15 | 211 |
| C++ Header | 61 | 626 | 446 | 46 | 134 |
| SVG | 2 | 429 | 425 | 2 | 2 |

Top language (Python 70.1%). Generated at 2026-08-26T18:18:29.075527359+00:00. Canonical report: https://octocounts.com/github/mesonbuild/meson

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mesonbuild/meson/commit/6db2b663af92cd5eb95fb93c35f38d1e94e409c1?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 mesonbuild/meson have?

mesonbuild/meson has 182,698 total lines, including 141,659 code lines, 14,534 comment lines, and 26,505 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6db2b663af92, 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 6db2b663af92 on 2026-08-26T18:18:29.075527359+00:00.

## Similar repository reports

- [trpc-group/trpc-agent-python](https://octocounts.com/github/trpc-group/trpc-agent-python) — Python, 141,078 code lines
- [vitali87/code-graph-rag](https://octocounts.com/github/vitali87/code-graph-rag) — Python, 142,786 code lines
- [openai/openai-agents-python](https://octocounts.com/github/openai/openai-agents-python) — Python, 144,673 code lines
- [InnerAura/hyperweave](https://octocounts.com/github/InnerAura/hyperweave) — Python, 135,436 code lines
- [gradio-app/gradio](https://octocounts.com/github/gradio-app/gradio) — Python, 149,587 code lines
- [huggingface/text-generation-inference](https://octocounts.com/github/huggingface/text-generation-inference) — Python, 150,835 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)
- [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)
- [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)
