# agent-substrate/substrate SLOC report

> agent-substrate/substrate: 346,264 code lines at commit 5dcea389ec3b, counted with tokei-14.0.0 on 2026-10-21. Saved result edbc00f6cb89951f2095321b97e61848b84d6947b7e9ad01a2abaf60f60f68cd.

agent-substrate/substrate has 346,264 source lines of code out of 468,873 total lines across 1,771 files, counted from the main ref at commit 5dcea389ec3b 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 agent-substrate/substrate to commit 5dcea389ec3b, 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 large codebase by counted code lines. Code represents 73.9% of all lines, comments represent 17.6%, and the repository averages 196 code lines per file. Go accounts for 90.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,389 | 411,426 | 314,677 | 62,741 | 34,008 |
| YAML | 76 | 13,588 | 10,660 | 2,679 | 249 |
| Python | 56 | 11,083 | 8,418 | 1,295 | 1,370 |
| Shell | 74 | 6,778 | 3,929 | 2,096 | 753 |
| Protocol Buffers | 14 | 7,214 | 2,282 | 3,906 | 1,026 |
| Templ | 36 | 2,191 | 2,126 | 0 | 65 |
| SVG | 2 | 1,521 | 1,517 | 2 | 2 |
| Rust | 5 | 1,196 | 966 | 119 | 111 |
| JSON | 6 | 929 | 929 | 0 | 0 |
| HTML | 2 | 336 | 287 | 30 | 19 |
| SQL | 4 | 333 | 216 | 81 | 36 |
| Dockerfile | 6 | 338 | 153 | 139 | 46 |
| Jinja2 | 1 | 50 | 49 | 0 | 1 |
| Makefile | 1 | 56 | 28 | 18 | 10 |
| TOML | 2 | 63 | 27 | 30 | 6 |
| Markdown | 61 | 7,439 | 0 | 5,781 | 1,658 |
| Plain Text | 36 | 4,332 | 0 | 3,647 | 685 |

Top language (Go 90.9%). Generated at 2026-10-21T03:44:03.282714066Z. Canonical report: https://octocounts.com/github/agent-substrate/substrate/commit/5dcea389ec3b8b7a061414e090c33279c2cf2dbb?reportId=edbc00f6cb89951f2095321b97e61848b84d6947b7e9ad01a2abaf60f60f68cd&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/5dcea389ec3b8b7a061414e090c33279c2cf2dbb?reportId=edbc00f6cb89951f2095321b97e61848b84d6947b7e9ad01a2abaf60f60f68cd&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 468,873 total lines, including 346,264 code lines, 82,564 comment lines, and 40,045 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 5dcea389ec3b, 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 5dcea389ec3b on 2026-10-21T03:44:03.282714066Z.

## Similar repository reports

- [go-vikunja/vikunja](https://octocounts.com/github/go-vikunja/vikunja) — Go, 344,045 code lines
- [higress-group/higress](https://octocounts.com/github/higress-group/higress) — Go, 350,957 code lines
- [opensandbox-group/OpenSandbox](https://octocounts.com/github/opensandbox-group/OpenSandbox) — Go, 351,873 code lines
- [safing/portmaster](https://octocounts.com/github/safing/portmaster) — Go, 339,576 code lines
- [0xJacky/nginx-ui](https://octocounts.com/github/0xJacky/nginx-ui) — Go, 339,086 code lines
- [TykTechnologies/tyk](https://octocounts.com/github/TykTechnologies/tyk) — Go, 355,547 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)
- [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)
