agent-substrate/substrate has 379,633 source lines of code out of 509,567 total lines across 1,896 files, counted with tokei from the main ref at commit a46464663fa0 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
agent-substrate/substrate: 379,633 code lines at commit a46464663fa0, counted with tokei-15.0.0 on 2026-11-14. Saved result da88475925f70ceb0e34e18a5bdf803f4c9d85e561a8a4ea3ad71a9b94b92dec.
OctoCounts produced this report by resolving agent-substrate/substrate to commit a46464663fa0, 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 17.1%, and the repository averages 200 code lines per file. Go accounts for 89.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1455 | 442314 | 339304 | 67147 | 35863 |
| YAML | 91 | 14497 | 11287 | 2925 | 285 |
| Python | 69 | 13067 | 9936 | 1505 | 1626 |
| Shell | 68 | 6263 | 3740 | 1826 | 697 |
| Sass | 2 | 4038 | 3349 | 103 | 586 |
| Protocol Buffers | 14 | 7515 | 2341 | 4119 | 1055 |
| Templ | 37 | 2334 | 2240 | 18 | 76 |
| HTML | 26 | 2215 | 2032 | 35 | 148 |
| SVG | 3 | 1351 | 1347 | 2 | 2 |
| JSON | 8 | 1187 | 1187 | 0 | 0 |
| JavaScript | 5 | 1376 | 1109 | 108 | 159 |
| Rust | 5 | 1196 | 966 | 119 | 111 |
| CSS | 1 | 426 | 332 | 34 | 60 |
| SQL | 2 | 302 | 216 | 53 | 33 |
| Dockerfile | 6 | 360 | 172 | 142 | 46 |
| Jinja2 | 1 | 49 | 48 | 0 | 1 |
| TOML | 2 | 63 | 27 | 30 | 6 |
| Markdown | 61 | 6519 | 0 | 5082 | 1437 |
| Plain Text | 40 | 4495 | 0 | 3790 | 705 |
Top language: Go 89.4%. Generated on .
agent-substrate/substrate: 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.
agent-substrate/substrate has 379,633 lines of code, plus 87,038 comment lines and 42,896 blank lines, for 509,567 total lines at commit a46464663fa0 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit a46464663fa0, 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 main at commit a46464663fa0 on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for agent-substrate/substrate on this page — 379,633 code lines across 19 languages, counted by tokei.