# xmake-io/xmake SLOC report

> xmake-io/xmake: 154,735 code lines at commit 4eb854d81415, counted with tokei-15.0.0 on 2026-11-15. Saved result da261388204f99b6826ad742c87cdb12cbfc783c72f8e68e136797715e87a553.

xmake-io/xmake has 154,735 source lines of code out of 266,224 total lines across 2,179 files, counted with tokei from the dev ref at commit 4eb854d81415 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving xmake-io/xmake to commit 4eb854d81415, 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

xmake-io/xmake: 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 58.1% of all lines, comments represent 31.3%, and the repository averages 71 code lines per file. Lua accounts for 78.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Lua | 1,661 | 202,383 | 121,521 | 60,530 | 20,332 |
| C | 259 | 28,240 | 15,346 | 9,665 | 3,229 |
| C Header | 79 | 15,778 | 7,920 | 6,280 | 1,578 |
| Shell | 17 | 6,402 | 5,246 | 631 | 525 |
| Perl | 1 | 1,243 | 912 | 190 | 141 |
| MSBuild | 7 | 794 | 646 | 77 | 71 |
| Elixir | 13 | 751 | 544 | 122 | 85 |
| C++ | 22 | 479 | 408 | 6 | 65 |
| PowerShell | 8 | 443 | 356 | 40 | 47 |
| JSON | 8 | 336 | 336 | 0 | 0 |
| CUDA | 3 | 237 | 179 | 21 | 37 |
| Objective-C | 19 | 449 | 179 | 142 | 128 |
| Batch | 4 | 155 | 150 | 0 | 5 |
| CMake | 5 | 209 | 134 | 44 | 31 |
| Python | 1 | 143 | 114 | 10 | 19 |
| RPM Specfile | 2 | 151 | 107 | 10 | 34 |
| BASH | 2 | 173 | 83 | 72 | 18 |
| XML | 1 | 76 | 72 | 0 | 4 |
| VBScript | 1 | 67 | 60 | 0 | 7 |
| Visual Studio Project | 1 | 62 | 48 | 14 | 0 |
| Vala | 5 | 51 | 42 | 0 | 9 |
| D | 5 | 43 | 35 | 0 | 8 |
| Visual Studio Solution | 1 | 35 | 35 | 0 | 0 |
| QML | 2 | 36 | 32 | 0 | 4 |
| C# | 5 | 37 | 31 | 0 | 6 |
| Fish | 2 | 99 | 29 | 61 | 9 |
| FORTRAN Modern | 5 | 29 | 27 | 0 | 2 |
| Go | 5 | 38 | 26 | 0 | 12 |
| Pascal | 3 | 36 | 26 | 1 | 9 |
| Zig | 5 | 25 | 20 | 0 | 5 |
| Rust | 5 | 23 | 19 | 0 | 4 |
| Nim | 5 | 19 | 15 | 0 | 4 |
| Objective-C++ | 3 | 18 | 15 | 0 | 3 |
| Zsh | 1 | 38 | 12 | 23 | 3 |
| Kotlin | 3 | 7 | 7 | 0 | 0 |
| Swift | 1 | 3 | 2 | 0 | 1 |
| Autoconf | 1 | 13 | 1 | 10 | 2 |
| Markdown | 8 | 7,103 | 0 | 5,341 | 1,762 |

Top language: Lua 78.5%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/xmake-io/xmake/commit/4eb854d81415a437deebe1394cee340e4b3eec35?reportId=da261388204f99b6826ad742c87cdb12cbfc783c72f8e68e136797715e87a553&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/xmake-io/xmake/commit/4eb854d81415a437deebe1394cee340e4b3eec35?reportId=da261388204f99b6826ad742c87cdb12cbfc783c72f8e68e136797715e87a553&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 xmake-io/xmake have?

xmake-io/xmake has 154,735 lines of code, plus 83,290 comment lines and 28,199 blank lines, for 266,224 total lines at commit 4eb854d81415 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the xmake-io/xmake line count measured?

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

### What commit was counted for xmake-io/xmake?

This OctoCounts report was generated from dev at commit 4eb854d81415 on November 15, 2026.

## Similar repository reports

- [koreader/koreader](https://octocounts.com/github/koreader/koreader) — Lua, 205,902 code lines
- [4DBug/imgui-luau](https://octocounts.com/github/4DBug/imgui-luau) — Lua, 64,354 code lines
- [finlater/weread.koplugin](https://octocounts.com/github/finlater/weread.koplugin) — Lua, 42,780 code lines
- [noctalia-dev/community-plugins](https://octocounts.com/github/noctalia-dev/community-plugins) — Lua, 577,303 code lines
- [carlos-algms/agentic.nvim](https://octocounts.com/github/carlos-algms/agentic.nvim) — Lua, 39,262 code lines
- [luakit/luakit](https://octocounts.com/github/luakit/luakit) — Lua, 32,766 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)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
