statelyai/xstate has 139,362 source lines of code out of 187,186 total lines across 1,371 files, counted with tokei from the next ref at commit c72a8998df84 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit c72a8998df84), statelyai/xstate contains 187,186 total lines: 139,362 code, 28,686 comments, 19,138 blank, across 1,371 files in 13 languages (top language: TypeScript 60.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving statelyai/xstate to commit c72a8998df84, 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 large codebase by counted code lines. Code represents 74.5% of all lines, comments represent 15.3%, and the repository averages 102 code lines per file. TypeScript accounts for 60.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 575 | 101987 | 84858 | 10334 | 6795 |
| YAML | 12 | 34723 | 30808 | 3 | 3912 |
| JSON | 283 | 8259 | 8164 | 0 | 95 |
| TSX | 119 | 6095 | 5390 | 57 | 648 |
| CSS | 81 | 5141 | 4511 | 20 | 610 |
| JavaScript | 40 | 4805 | 4405 | 183 | 217 |
| HTML | 60 | 759 | 759 | 0 | 0 |
| Svelte | 7 | 232 | 208 | 0 | 24 |
| SVG | 21 | 125 | 125 | 0 | 0 |
| Sass | 1 | 61 | 52 | 0 | 9 |
| Vue | 12 | 65 | 51 | 0 | 14 |
| Python | 1 | 37 | 31 | 0 | 6 |
Top language: TypeScript 60.9%. Generated on .
statelyai/xstate: 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.
statelyai/xstate has 139,362 lines of code, plus 28,686 comment lines and 19,138 blank lines, for 187,186 total lines at commit c72a8998df84 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c72a8998df84, 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 next at commit c72a8998df84 on November 15, 2026.
Play the growth animation for statelyai/xstate on this page — 139,362 code lines across 13 languages, counted by tokei.