# xmake-io/xmake SLOC report

> xmake-io/xmake: 153,670 code lines at commit 3ec83640d6c7, counted with tokei-14.0.0 on 2026-10-22. Saved result 3ecf430739c6833cf8090bf317b0ecedfb437fcd84d975036af2b8b886cdbad3.

xmake-io/xmake has 153,670 source lines of code out of 264,436 total lines across 2,166 files, counted from the dev ref at commit 3ec83640d6c7 by the OctoCounts tokei engine on 2026-10-22. 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 xmake-io/xmake to commit 3ec83640d6c7, 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 58.1% of all lines, comments represent 31.3%, and the repository averages 71 code lines per file. Lua accounts for 78.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Lua | 1,648 | 200,605 | 120,465 | 59,910 | 20,230 |
| C | 259 | 28,230 | 15,337 | 9,664 | 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.4%). Generated at 2026-10-22T04:59:18.348435210Z. Canonical report: https://octocounts.com/github/xmake-io/xmake/commit/3ec83640d6c7fd13a4ff765c5d389bcfa0e0afe3?reportId=3ecf430739c6833cf8090bf317b0ecedfb437fcd84d975036af2b8b886cdbad3&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/3ec83640d6c7fd13a4ff765c5d389bcfa0e0afe3?reportId=3ecf430739c6833cf8090bf317b0ecedfb437fcd84d975036af2b8b886cdbad3&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 264,436 total lines, including 153,670 code lines, 82,669 comment lines, and 28,097 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 3ec83640d6c7, 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 3ec83640d6c7 on 2026-10-22T04:59:18.348435210Z.

## Similar repository reports

- [koreader/koreader](https://octocounts.com/github/koreader/koreader) — Lua, 205,318 code lines
- [noctalia-dev/community-plugins](https://octocounts.com/github/noctalia-dev/community-plugins) — Lua, 394,657 code lines
- [finlater/weread.koplugin](https://octocounts.com/github/finlater/weread.koplugin) — Lua, 42,648 code lines
- [carlos-algms/agentic.nvim](https://octocounts.com/github/carlos-algms/agentic.nvim) — Lua, 38,720 code lines
- [barrettruth/diffs.nvim](https://octocounts.com/github/barrettruth/diffs.nvim) — Lua, 28,214 code lines
- [saya-ashen/agent-workbench.nvim](https://octocounts.com/github/saya-ashen/agent-workbench.nvim) — Lua, 26,623 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)
- [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)
