# dydxprotocol/v4-chain SLOC report

> As of 2026-10-20 (commit 79bc6fd5f7e8), dydxprotocol/v4-chain contains 727,063 total lines: 615,669 code, 50,438 comments, 60,956 blank, across 3,399 files in 17 languages (top: Go 65.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

dydxprotocol/v4-chain has 615,669 source lines of code out of 727,063 total lines across 3,399 files, counted from the main ref at commit 79bc6fd5f7e8 by the OctoCounts tokei engine on 2026-10-20. 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 dydxprotocol/v4-chain to commit 79bc6fd5f7e8, 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 84.7% of all lines, comments represent 6.9%, and the repository averages 181 code lines per file. Go accounts for 65.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,942 | 465,115 | 401,216 | 26,555 | 37,344 |
| TypeScript | 796 | 116,624 | 85,229 | 15,043 | 16,352 |
| JSON | 132 | 50,651 | 50,647 | 0 | 4 |
| Rust | 118 | 45,005 | 44,867 | 117 | 21 |
| YAML | 15 | 24,236 | 21,456 | 57 | 2,723 |
| Shell | 44 | 5,860 | 3,852 | 1,029 | 979 |
| Protocol Buffers | 128 | 7,634 | 3,702 | 2,631 | 1,301 |
| SQL | 73 | 3,498 | 2,536 | 767 | 195 |
| Python | 9 | 1,413 | 1,110 | 132 | 171 |
| Makefile | 7 | 750 | 538 | 86 | 126 |
| Lua | 12 | 384 | 171 | 150 | 63 |
| Dockerfile | 11 | 196 | 122 | 21 | 53 |

Top language (Go 65.2%). Generated at 2026-10-20T01:38:50.130105330+00:00. Canonical report: https://octocounts.com/github/dydxprotocol/v4-chain

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/dydxprotocol/v4-chain/commit/79bc6fd5f7e898874345acb88cca1f795eaf1aea?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&reportId=851c97d8223275b8e7d3e666bbcd1af5b78308b1a543180465b0946deaca7ccf).

## Report FAQ

### How many lines of code does dydxprotocol/v4-chain have?

dydxprotocol/v4-chain has 727,063 total lines, including 615,669 code lines, 50,438 comment lines, and 60,956 blank lines.

### How was the dydxprotocol/v4-chain line count measured?

OctoCounts resolved the public GitHub repository to commit 79bc6fd5f7e8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for dydxprotocol/v4-chain?

This OctoCounts report was generated from main at commit 79bc6fd5f7e8 on 2026-10-20T01:38:50.130105330+00:00.

## Similar repository reports

- [hashicorp/nomad](https://octocounts.com/github/hashicorp/nomad) — Go, 627,996 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 600,461 code lines
- [strelov1/freehire](https://octocounts.com/github/strelov1/freehire) — Go, 598,085 code lines
- [router-for-me/CLIProxyAPI](https://octocounts.com/github/router-for-me/CLIProxyAPI) — Go, 638,505 code lines
- [AgentsMesh/AgentsMesh](https://octocounts.com/github/AgentsMesh/AgentsMesh) — Go, 592,385 code lines
- [tx7do/go-wind-admin](https://octocounts.com/github/tx7do/go-wind-admin) — Go, 591,140 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)
