# agent-substrate/substrate SLOC report

> As of 2026-10-10 (commit fd7a9cdef65e), agent-substrate/substrate contains 351,609 total lines: 254,818 code, 64,731 comments, 32,060 blank, across 1,463 files in 16 languages (top: Go 90.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

agent-substrate/substrate has 254,818 source lines of code out of 351,609 total lines across 1,463 files, counted from the main ref at commit fd7a9cdef65e by the OctoCounts tokei engine on 2026-10-10. 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 fd7a9cdef65e, 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 72.5% of all lines, comments represent 18.4%, and the repository averages 174 code lines per file. Go accounts for 90.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,130 | 304,886 | 229,844 | 48,030 | 27,012 |
| YAML | 68 | 11,130 | 8,582 | 2,334 | 214 |
| Python | 44 | 7,398 | 5,549 | 946 | 903 |
| Shell | 63 | 5,988 | 3,471 | 1,841 | 676 |
| Templ | 35 | 2,076 | 2,012 | 0 | 64 |
| Protocol Buffers | 11 | 5,493 | 1,876 | 2,770 | 847 |
| SVG | 2 | 1,521 | 1,517 | 2 | 2 |
| JSON | 4 | 937 | 937 | 0 | 0 |
| Rust | 1 | 406 | 340 | 21 | 45 |
| HTML | 2 | 336 | 287 | 30 | 19 |
| SQL | 4 | 333 | 216 | 81 | 36 |
| Dockerfile | 5 | 312 | 148 | 120 | 44 |

Top language (Go 90.2%). Generated at 2026-10-10T01:56:43.916813348+00:00. Canonical report: https://octocounts.com/github/agent-substrate/substrate

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/agent-substrate/substrate/commit/fd7a9cdef65e5a6793b835fb1ca0b686e4397273?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).

## Report FAQ

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

agent-substrate/substrate has 351,609 total lines, including 254,818 code lines, 64,731 comment lines, and 32,060 blank lines.

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

OctoCounts resolved the public GitHub repository to commit fd7a9cdef65e, 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 fd7a9cdef65e on 2026-10-10T01:56:43.916813348+00:00.

## Similar repository reports

- [blitzy-public-samples/tidepool-platform](https://octocounts.com/github/blitzy-public-samples/tidepool-platform) — Go, 261,154 code lines
- [tracewayapp/traceway](https://octocounts.com/github/tracewayapp/traceway) — Go, 247,513 code lines
- [golang/tools](https://octocounts.com/github/golang/tools) — Go, 270,262 code lines
- [huanglizhuo/magpie](https://octocounts.com/github/huanglizhuo/magpie) — Go, 278,223 code lines
- [owncloud/ocis](https://octocounts.com/github/owncloud/ocis) — Go, 232,135 code lines
- [JuliusBrussee/caveman](https://octocounts.com/github/JuliusBrussee/caveman) — Go, 221,752 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)
