# xtensor-stack/xtensor SLOC report

> xtensor-stack/xtensor: 41,873 code lines at commit eb899eab6b11, counted with tokei-15.0.0 on 2026-11-11. Saved result 5365113cbf167b7303790f5cba30d477f2401f62200e902470bcbde9659b2307.

xtensor-stack/xtensor has 41,873 source lines of code out of 61,200 total lines across 108 files, counted with tokei from the master ref at commit eb899eab6b11 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving xtensor-stack/xtensor to commit eb899eab6b11, 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

xtensor-stack/xtensor: 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 medium-sized codebase by counted code lines. Code represents 68.4% of all lines, comments represent 17.9%, and the repository averages 388 code lines per file. C++ Header accounts for 93.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 76 | 56,962 | 39,007 | 10,201 | 7,754 |
| C++ | 17 | 2,615 | 2,118 | 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 | 433 | 0 | 304 | 129 |

Top language: C++ Header 93.2%. Generated on November 11, 2026. Canonical report: https://octocounts.com/github/xtensor-stack/xtensor/commit/eb899eab6b11cffb8bd3fd1efa4873ec3b4137c3?reportId=5365113cbf167b7303790f5cba30d477f2401f62200e902470bcbde9659b2307&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/xtensor-stack/xtensor/commit/eb899eab6b11cffb8bd3fd1efa4873ec3b4137c3?reportId=5365113cbf167b7303790f5cba30d477f2401f62200e902470bcbde9659b2307&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 xtensor-stack/xtensor have?

xtensor-stack/xtensor has 41,873 lines of code, plus 10,974 comment lines and 8,353 blank lines, for 61,200 total lines at commit eb899eab6b11 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit eb899eab6b11, 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 eb899eab6b11 on November 11, 2026.

## Similar repository reports

- [ProjectPhysX/FluidX3D](https://octocounts.com/github/ProjectPhysX/FluidX3D) — C++ Header, 42,269 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
- [githubhaohao/LearnFFmpeg](https://octocounts.com/github/githubhaohao/LearnFFmpeg) — C++ Header, 51,547 code lines
- [OpenKinect/libfreenect2](https://octocounts.com/github/OpenKinect/libfreenect2) — C++ Header, 28,476 code lines
- [IntelSDM/HuntDMA](https://octocounts.com/github/IntelSDM/HuntDMA) — C++ Header, 27,236 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)
- [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)
