# official-stockfish/Stockfish SLOC report

> As of 2026-09-13 (commit a37b38bdf0ad), official-stockfish/Stockfish contains 21,822 total lines: 13,231 code, 4,518 comments, 4,073 blank, across 66 files in 6 languages (top: C++ 54.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving official-stockfish/Stockfish to commit a37b38bdf0ad, 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 medium-sized codebase by counted code lines. Code represents 60.6% of all lines, comments represent 20.7%, and the repository averages 200 code lines per file. C++ accounts for 54.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 23 | 11,097 | 7,183 | 1,711 | 2,203 |
| C Header | 36 | 8,085 | 4,965 | 1,604 | 1,516 |
| Makefile | 1 | 1,151 | 889 | 118 | 144 |
| Shell | 2 | 237 | 194 | 19 | 24 |
| Markdown | 2 | 256 | 0 | 192 | 64 |
| Plain Text | 2 | 996 | 0 | 874 | 122 |

Top language (C++ 54.3%). Generated at 2026-09-13T10:42:34.214774164+00:00. Canonical report: https://octocounts.com/github/official-stockfish/Stockfish

## Report FAQ

### How many lines of code does official-stockfish/Stockfish have?

official-stockfish/Stockfish has 21,822 total lines, including 13,231 code lines, 4,518 comment lines, and 4,073 blank lines.

### How was the official-stockfish/Stockfish line count measured?

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

### What commit was counted for official-stockfish/Stockfish?

This OctoCounts report was generated from a37b38bdf0ad964363a7fef4b278ccc761a52c52 at commit a37b38bdf0ad on 2026-09-13T10:42:34.214774164+00:00.

## Similar repository reports

- [acaudwell/gource](https://octocounts.com/github/acaudwell/gource) — C++, 13,477 code lines
- [JKKDY/Vulkan-Wrapper](https://octocounts.com/github/JKKDY/Vulkan-Wrapper) — C++, 12,436 code lines
- [npfs666/OPC](https://octocounts.com/github/npfs666/OPC) — C++, 14,129 code lines
- [PacktPublishing/Beginning-C-Game-Programming-Third-Edition](https://octocounts.com/github/PacktPublishing/Beginning-C-Game-Programming-Third-Edition) — C++, 15,705 code lines
- [Beckhoff/ADS](https://octocounts.com/github/Beckhoff/ADS) — C++, 10,726 code lines
- [Amulet-Team/Amulet-NBT](https://octocounts.com/github/Amulet-Team/Amulet-NBT) — C++, 8,941 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
