# dydxprotocol/v4-chain SLOC report

> dydxprotocol/v4-chain: 610,939 code lines at commit ac27af66dde4, counted with tokei-14.0.0 on 2026-10-09. Saved result 79ac1eea969fec26da17bb0e1cd60f0699e86127c79a084245b1e85ae4f3e8b4.

dydxprotocol/v4-chain has 610,939 source lines of code out of 720,924 total lines across 3,379 files, counted from the main ref at commit ac27af66dde4 by the OctoCounts tokei engine on 2026-10-09. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving dydxprotocol/v4-chain to commit ac27af66dde4, 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

dydxprotocol/v4-chain: counting rules unknown; engine tokei-14.0.0.

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 84.7% of all lines, comments represent 6.9%, and the repository averages 181 code lines per file. Go accounts for 64.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,925 | 459,217 | 396,641 | 25,840 | 36,736 |
| TypeScript | 794 | 116,488 | 85,133 | 15,012 | 16,343 |
| 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 | 43 | 5,767 | 3,800 | 1,004 | 963 |
| 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 | 379 | 168 | 148 | 63 |
| Dockerfile | 11 | 189 | 118 | 19 | 52 |
| JavaScript | 61 | 215 | 114 | 100 | 1 |
| TOML | 8 | 133 | 108 | 10 | 15 |
| Autoconf | 1 | 1 | 1 | 0 | 0 |
| Markdown | 40 | 5,340 | 0 | 3,732 | 1,608 |
| Plain Text | 2 | 8 | 0 | 8 | 0 |

Top language (Go 64.9%). Generated at 2026-10-09T00:12:13.189450448Z. Canonical report: https://octocounts.com/github/dydxprotocol/v4-chain/commit/ac27af66dde456ac340aaefbe41e16ae3a9506e6?reportId=79ac1eea969fec26da17bb0e1cd60f0699e86127c79a084245b1e85ae4f3e8b4&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/dydxprotocol/v4-chain/commit/ac27af66dde456ac340aaefbe41e16ae3a9506e6?reportId=79ac1eea969fec26da17bb0e1cd60f0699e86127c79a084245b1e85ae4f3e8b4&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 dydxprotocol/v4-chain have?

dydxprotocol/v4-chain has 720,924 total lines, including 610,939 code lines, 49,663 comment lines, and 60,322 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ac27af66dde4, 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 ac27af66dde4 on 2026-10-09T00:12:13.189450448Z.

## Similar repository reports

- [hashicorp/nomad](https://octocounts.com/github/hashicorp/nomad) — Go, 628,025 code lines
- [hashicorp/terraform](https://octocounts.com/github/hashicorp/terraform) — Go, 601,385 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,913 code lines
- [router-for-me/CLIProxyAPI](https://octocounts.com/github/router-for-me/CLIProxyAPI) — Go, 649,004 code lines
- [go-gitea/gitea](https://octocounts.com/github/go-gitea/gitea) — Go, 577,925 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)
