# vcmi/vcmi SLOC report

> As of 2026-10-24 (commit b145aff784d1), vcmi/vcmi contains 762,248 total lines: 649,285 code, 41,921 comments, 71,042 blank, across 2,702 files in 27 languages (top: C++ 35.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

vcmi/vcmi has 649,285 source lines of code out of 762,248 total lines across 2,702 files, counted from the develop ref at commit b145aff784d1 by the OctoCounts tokei engine on 2026-10-24. 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 vcmi/vcmi to commit b145aff784d1, 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 85.2% of all lines, comments represent 5.5%, and the repository averages 240 code lines per file. C++ accounts for 35.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 861 | 294,157 | 231,726 | 16,411 | 46,020 |
| TypeScript | 54 | 220,010 | 218,613 | 0 | 1,397 |
| JSON | 405 | 115,302 | 114,151 | 0 | 1,151 |
| C Header | 1,133 | 102,759 | 66,846 | 17,972 | 17,941 |
| CMake | 39 | 7,087 | 5,505 | 681 | 901 |
| Lua | 40 | 3,453 | 2,494 | 354 | 605 |
| PO File | 29 | 2,924 | 1,798 | 622 | 504 |
| Java | 16 | 2,260 | 1,753 | 158 | 349 |
| Python | 22 | 1,926 | 1,530 | 39 | 357 |
| SVG | 5 | 1,442 | 1,440 | 1 | 1 |
| Autoconf | 7 | 1,127 | 939 | 28 | 160 |
| XML | 36 | 653 | 597 | 30 | 26 |

Top language (C++ 35.7%). Generated at 2026-10-24T10:48:13.749507375+00:00. Canonical report: https://octocounts.com/github/vcmi/vcmi

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/vcmi/vcmi/commit/b145aff784d15b91a7bfae43a3eb72929c01c604?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=602bf3a273ccbf9ad6e1c245ed216effe1242cf9b1f0eb3df6bd9aed65c9c716).

## Report FAQ

### How many lines of code does vcmi/vcmi have?

vcmi/vcmi has 762,248 total lines, including 649,285 code lines, 41,921 comment lines, and 71,042 blank lines.

### How was the vcmi/vcmi line count measured?

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

### What commit was counted for vcmi/vcmi?

This OctoCounts report was generated from develop at commit b145aff784d1 on 2026-10-24T10:48:13.749507375+00:00.

## Similar repository reports

- [ARM-software/kleidiai](https://octocounts.com/github/ARM-software/kleidiai) — C++, 645,044 code lines
- [KittenML/kitten-tts-2-cpp](https://octocounts.com/github/KittenML/kitten-tts-2-cpp) — C++, 672,165 code lines
- [envoyproxy/envoy](https://octocounts.com/github/envoyproxy/envoy) — C++, 690,876 code lines
- [Kelsidavis/WoWee](https://octocounts.com/github/Kelsidavis/WoWee) — C++, 707,738 code lines
- [handy-computer/transcribe.cpp](https://octocounts.com/github/handy-computer/transcribe.cpp) — C++, 594,507 code lines
- [PrismML-Eng/llama.cpp](https://octocounts.com/github/PrismML-Eng/llama.cpp) — C++, 714,389 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [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)
