# xtensor-stack/xtensor SLOC report

> As of 2026-09-04 (commit d9a57b696f42), xtensor-stack/xtensor contains 60,679 total lines: 41,480 code, 10,931 comments, 8,268 blank, across 107 files in 9 languages (top: C++ Header 93.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving xtensor-stack/xtensor to commit d9a57b696f42, 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,436 | 38,604 | 10,162 | 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 | 428 | 0 | 300 | 128 |

Top language (C++ Header 93.1%). Generated at 2026-09-04T13:40:46.267686834+00:00. Canonical report: https://octocounts.com/github/xtensor-stack/xtensor

## Report FAQ

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

xtensor-stack/xtensor has 60,679 total lines, including 41,480 code lines, 10,931 comment lines, and 8,268 blank lines.

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

OctoCounts resolved the public GitHub repository to commit d9a57b696f42, 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 d9a57b696f42 on 2026-09-04T13:40:46.267686834+00:00.

## Similar repository reports

- [nlohmann/json](https://octocounts.com/github/nlohmann/json) — C++ Header, 40,586 code lines
- [rhasspy/piper](https://octocounts.com/github/rhasspy/piper) — C++ Header, 44,935 code lines
- [IntelSDM/HuntDMA](https://octocounts.com/github/IntelSDM/HuntDMA) — C++ Header, 27,236 code lines
- [mit-acl/clear](https://octocounts.com/github/mit-acl/clear) — C++ Header, 23,480 code lines
- [jmaczan/tiny-vllm](https://octocounts.com/github/jmaczan/tiny-vllm) — C++ Header, 19,612 code lines
- [deepseek-ai/FlashMLA](https://octocounts.com/github/deepseek-ai/FlashMLA) — C++ Header, 14,223 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
