# aptos-labs/aptos-core SLOC report

> aptos-labs/aptos-core: 1,945,595 code lines at commit 57530cfebc19, counted with tokei-14.0.0 on 2026-10-21. Saved result 211058b702bfb65afeb386b9775499b7ef3f196429c5d72ec4f5ca4284d75a12.

aptos-labs/aptos-core has 1,945,595 source lines of code out of 2,254,460 total lines across 6,838 files, counted from the main ref at commit 57530cfebc19 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 aptos-labs/aptos-core to commit 57530cfebc19, 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 very large codebase by counted code lines. Code represents 86.3% of all lines, comments represent 6.9%, and the repository averages 285 code lines per file. Rust accounts for 48.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 3,682 | 1,102,441 | 939,996 | 60,535 | 101,910 |
| JSON | 638 | 441,603 | 441,595 | 0 | 8 |
| Lean | 725 | 268,970 | 213,978 | 32,256 | 22,736 |
| SVG | 33 | 189,977 | 189,971 | 2 | 4 |
| YAML | 172 | 69,729 | 66,165 | 843 | 2,721 |
| Python | 200 | 50,967 | 43,169 | 2,506 | 5,292 |
| TypeScript | 58 | 18,606 | 16,132 | 772 | 1,702 |
| TOML | 644 | 17,387 | 14,916 | 397 | 2,074 |
| HCL | 90 | 8,462 | 7,126 | 234 | 1,102 |
| Shell | 107 | 8,713 | 6,187 | 1,385 | 1,141 |
| TSX | 14 | 1,131 | 1,002 | 22 | 107 |
| TeX | 3 | 964 | 831 | 72 | 61 |
| Protocol Buffers | 7 | 1,015 | 763 | 83 | 169 |
| PowerShell | 4 | 982 | 750 | 94 | 138 |
| JavaScript | 12 | 924 | 731 | 106 | 87 |
| Pan | 9 | 669 | 612 | 6 | 51 |
| HTML | 3 | 408 | 382 | 0 | 26 |
| Dockerfile | 14 | 490 | 327 | 67 | 96 |
| Forge Config | 4 | 557 | 310 | 127 | 120 |
| CSS | 2 | 306 | 246 | 1 | 59 |
| C | 2 | 258 | 212 | 29 | 17 |
| SQL | 10 | 62 | 58 | 0 | 4 |
| Go | 1 | 52 | 42 | 2 | 8 |
| Makefile | 2 | 54 | 37 | 6 | 11 |
| INI | 1 | 34 | 25 | 2 | 7 |
| AWK | 1 | 20 | 15 | 2 | 3 |
| D | 1 | 13 | 9 | 1 | 3 |
| Tera | 1 | 18 | 8 | 8 | 2 |
| Jupyter Notebooks | 1 | 0 | 0 | 0 | 0 |
| Markdown | 372 | 68,827 | 0 | 54,765 | 14,062 |
| Plain Text | 25 | 821 | 0 | 806 | 15 |

Top language (Rust 48.3%). Generated at 2026-10-21T23:09:09.690607440Z. Canonical report: https://octocounts.com/github/aptos-labs/aptos-core/commit/57530cfebc19edd2005da5c9a6867ce075c17977?reportId=211058b702bfb65afeb386b9775499b7ef3f196429c5d72ec4f5ca4284d75a12&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/aptos-labs/aptos-core/commit/57530cfebc19edd2005da5c9a6867ce075c17977?reportId=211058b702bfb65afeb386b9775499b7ef3f196429c5d72ec4f5ca4284d75a12&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 aptos-labs/aptos-core have?

aptos-labs/aptos-core has 2,254,460 total lines, including 1,945,595 code lines, 155,129 comment lines, and 153,736 blank lines.

### How was the aptos-labs/aptos-core line count measured?

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

### What commit was counted for aptos-labs/aptos-core?

This OctoCounts report was generated from main at commit 57530cfebc19 on 2026-10-21T23:09:09.690607440Z.

## Similar repository reports

- [LadybirdBrowser/ladybird](https://octocounts.com/github/LadybirdBrowser/ladybird) — Rust, 1,868,331 code lines
- [oven-sh/bun](https://octocounts.com/github/oven-sh/bun) — Rust, 2,104,076 code lines
- [trycua/cua](https://octocounts.com/github/trycua/cua) — Rust, 1,699,051 code lines
- [codewhale-hq/Codewhale](https://octocounts.com/github/codewhale-hq/Codewhale) — Rust, 1,698,066 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,665,196 code lines
- [Haleclipse/codex](https://octocounts.com/github/Haleclipse/codex) — Rust, 1,627,008 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
