# agent-substrate/substrate SLOC report

> agent-substrate/substrate: 379,633 code lines at commit a46464663fa0, counted with tokei-15.0.0 on 2026-11-14. Saved result da88475925f70ceb0e34e18a5bdf803f4c9d85e561a8a4ea3ad71a9b94b92dec.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 1,455 | 442,314 | 339,304 | 67,147 | 35,863 |
| YAML | 91 | 14,497 | 11,287 | 2,925 | 285 |
| Python | 69 | 13,067 | 9,936 | 1,505 | 1,626 |
| Shell | 68 | 6,263 | 3,740 | 1,826 | 697 |
| Sass | 2 | 4,038 | 3,349 | 103 | 586 |
| Protocol Buffers | 14 | 7,515 | 2,341 | 4,119 | 1,055 |
| Templ | 37 | 2,334 | 2,240 | 18 | 76 |
| HTML | 26 | 2,215 | 2,032 | 35 | 148 |
| SVG | 3 | 1,351 | 1,347 | 2 | 2 |
| JSON | 8 | 1,187 | 1,187 | 0 | 0 |
| JavaScript | 5 | 1,376 | 1,109 | 108 | 159 |
| Rust | 5 | 1,196 | 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 | 6,519 | 0 | 5,082 | 1,437 |
| Plain Text | 40 | 4,495 | 0 | 3,790 | 705 |

Top language: Go 89.4%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/agent-substrate/substrate/commit/a46464663fa076221ae059e1fd4a273edd2d8b09?reportId=da88475925f70ceb0e34e18a5bdf803f4c9d85e561a8a4ea3ad71a9b94b92dec&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/agent-substrate/substrate/commit/a46464663fa076221ae059e1fd4a273edd2d8b09?reportId=da88475925f70ceb0e34e18a5bdf803f4c9d85e561a8a4ea3ad71a9b94b92dec&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does agent-substrate/substrate have?

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.

### How was the agent-substrate/substrate line count measured?

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.

### What commit was counted for agent-substrate/substrate?

This OctoCounts report was generated from main at commit a46464663fa0 on November 14, 2026.

## Similar repository reports

- [higress-group/higress](https://octocounts.com/github/higress-group/higress) — Go, 376,009 code lines
- [Yudaotor/lyrimuse](https://octocounts.com/github/Yudaotor/lyrimuse) — Go, 383,686 code lines
- [go-vikunja/vikunja](https://octocounts.com/github/go-vikunja/vikunja) — Go, 368,872 code lines
- [victornife/jul](https://octocounts.com/github/victornife/jul) — Go, 397,621 code lines
- [TykTechnologies/tyk](https://octocounts.com/github/TykTechnologies/tyk) — Go, 360,220 code lines
- [krahets/hello-algo](https://octocounts.com/github/krahets/hello-algo) — Go, 359,409 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
