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.
As of 2026-11-11 (commit eb899eab6b11), xtensor-stack/xtensor contains 61,200 total lines: 41,873 code, 10,974 comments, 8,353 blank, across 108 files in 9 languages (top language: C++ Header 93.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 56962 | 39007 | 10201 | 7754 |
| C++ | 17 | 2615 | 2118 | 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 .
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.
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.
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.
This OctoCounts report was generated from master at commit eb899eab6b11 on November 11, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for xtensor-stack/xtensor on this page — 41,873 code lines across 9 languages, counted by tokei.