# xtensor-stack/xtensor SLOC report

> As of 2026-10-21 (commit 57f3d07eeccf), xtensor-stack/xtensor contains 60,699 total lines: 41,493 code, 10,937 comments, 8,269 blank, across 107 files in 9 languages (top: C++ Header 93.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

xtensor-stack/xtensor has 41,493 source lines of code out of 60,699 total lines across 107 files, counted from the master ref at commit 57f3d07eeccf by the OctoCounts tokei engine on 2026-10-21. 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 xtensor-stack/xtensor to commit 57f3d07eeccf, 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 68.4% of all lines, comments represent 18.0%, and the repository averages 388 code lines per file. C++ Header accounts for 93.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 75 | 56,452 | 38,617 | 10,165 | 7,670 |
| C++ | 17 | 2,625 | 2,128 | 192 | 305 |
| CMake | 4 | 859 | 562 | 180 | 117 |
| Autoconf | 4 | 124 | 78 | 30 | 16 |
| Jupyter Notebooks | 1 | 136 | 46 | 65 | 25 |
| Python | 1 | 36 | 31 | 1 | 4 |
| YAML | 3 | 31 | 27 | 1 | 3 |
| JSON | 1 | 4 | 4 | 0 | 0 |
| Markdown | 1 | 432 | 0 | 303 | 129 |

Top language (C++ Header 93.1%). Generated at 2026-10-21T04:28:40.241283803+00:00. Canonical report: https://octocounts.com/github/xtensor-stack/xtensor

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/xtensor-stack/xtensor/commit/57f3d07eeccfff0436288a41b9994fd09330e14b?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=21e694bc41801274cd72e31849e416e676b87d536d2d3aca136a232ed567dd8d).

## Report FAQ

### How many lines of code does xtensor-stack/xtensor have?

xtensor-stack/xtensor has 60,699 total lines, including 41,493 code lines, 10,937 comment lines, and 8,269 blank lines.

### How was the xtensor-stack/xtensor line count measured?

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

### What commit was counted for xtensor-stack/xtensor?

This OctoCounts report was generated from master at commit 57f3d07eeccf on 2026-10-21T04:28:40.241283803+00:00.

## Similar repository reports

- [ProjectPhysX/FluidX3D](https://octocounts.com/github/ProjectPhysX/FluidX3D) — C++ Header, 42,223 code lines
- [axstin/rbxfpsunlocker](https://octocounts.com/github/axstin/rbxfpsunlocker) — C++ Header, 36,768 code lines
- [Slackadays/Clipboard](https://octocounts.com/github/Slackadays/Clipboard) — C++ Header, 35,668 code lines
- [IntelSDM/HuntDMA](https://octocounts.com/github/IntelSDM/HuntDMA) — C++ Header, 27,236 code lines
- [nlohmann/json](https://octocounts.com/github/nlohmann/json) — C++ Header, 77,699 code lines
- [jmaczan/tiny-vllm](https://octocounts.com/github/jmaczan/tiny-vllm) — C++ Header, 19,753 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)
- [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)
