# statelyai/xstate SLOC report

> As of 2026-10-21 (commit 8f25b68f3953), statelyai/xstate contains 134,599 total lines: 98,602 code, 13,758 comments, 22,239 blank, across 694 files in 12 languages (top: YAML 59.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

statelyai/xstate has 98,602 source lines of code out of 134,599 total lines across 694 files, counted from the main ref at commit 8f25b68f3953 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 statelyai/xstate to commit 8f25b68f3953, 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 73.3% of all lines, comments represent 10.2%, and the repository averages 142 code lines per file. YAML accounts for 59.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 54 | 73,381 | 58,637 | 0 | 14,744 |
| TypeScript | 263 | 32,900 | 26,884 | 3,279 | 2,737 |
| JSON | 153 | 7,336 | 7,257 | 0 | 79 |
| TSX | 63 | 3,566 | 3,166 | 34 | 366 |
| CSS | 35 | 2,151 | 1,895 | 20 | 236 |
| HTML | 23 | 300 | 297 | 0 | 3 |
| JavaScript | 12 | 307 | 253 | 23 | 31 |
| SVG | 18 | 66 | 66 | 0 | 0 |
| Svelte | 1 | 67 | 57 | 0 | 10 |
| Sass | 1 | 62 | 53 | 0 | 9 |
| Vue | 8 | 48 | 37 | 0 | 11 |
| Markdown | 63 | 14,415 | 0 | 10,402 | 4,013 |

Top language (YAML 59.5%). Generated at 2026-10-21T19:08:20.328260737+00:00. Canonical report: https://octocounts.com/github/statelyai/xstate

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/statelyai/xstate/commit/8f25b68f3953a9dd3c146a76f1f4972aba092a3f?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=08d44112528169f6ab729ebc7934ed26588f3596a0997f295655d6c41078b795).

## Report FAQ

### How many lines of code does statelyai/xstate have?

statelyai/xstate has 134,599 total lines, including 98,602 code lines, 13,758 comment lines, and 22,239 blank lines.

### How was the statelyai/xstate line count measured?

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

### What commit was counted for statelyai/xstate?

This OctoCounts report was generated from main at commit 8f25b68f3953 on 2026-10-21T19:08:20.328260737+00:00.

## Similar repository reports

- [TanStack/query](https://octocounts.com/github/TanStack/query) — YAML, 101,539 code lines
- [Dokploy/templates](https://octocounts.com/github/Dokploy/templates) — YAML, 88,908 code lines
- [YaoFANGUK/video-subtitle-extractor](https://octocounts.com/github/YaoFANGUK/video-subtitle-extractor) — YAML, 62,957 code lines
- [unreallabsai/unreal-agent](https://octocounts.com/github/unreallabsai/unreal-agent) — YAML, 160,690 code lines
- [Dokploy/examples](https://octocounts.com/github/Dokploy/examples) — YAML, 51,495 code lines
- [puckeditor/puck](https://octocounts.com/github/puckeditor/puck) — YAML, 44,885 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)
