# aptos-labs/aptos-core SLOC report

> As of 2026-07-16 (commit 20f937951535), aptos-labs/aptos-core contains 1,625,146 total lines: 1,439,996 code, 73,211 comments, 111,939 blank, across 5,355 files in 28 languages (top: Rust 58.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving aptos-labs/aptos-core to commit 20f937951535, 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 88.6% of all lines, comments represent 4.5%, and the repository averages 269 code lines per file. Rust accounts for 58.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 3,475 | 994,678 | 844,382 | 54,754 | 95,542 |
| JSON | 352 | 272,835 | 272,827 | 0 | 8 |
| SVG | 33 | 189,977 | 189,971 | 2 | 4 |
| YAML | 172 | 69,729 | 66,165 | 843 | 2,721 |
| Python | 118 | 23,904 | 19,793 | 1,198 | 2,913 |
| TypeScript | 58 | 18,606 | 16,132 | 772 | 1,702 |
| TOML | 595 | 14,862 | 13,019 | 310 | 1,533 |
| HCL | 90 | 8,462 | 7,126 | 234 | 1,102 |
| Shell | 98 | 7,467 | 5,302 | 1,134 | 1,031 |
| TSX | 14 | 1,131 | 1,002 | 22 | 107 |
| Protocol Buffers | 7 | 1,015 | 763 | 83 | 169 |
| PowerShell | 4 | 982 | 750 | 94 | 138 |

Top language (Rust 58.6%). Generated at 2026-07-16T17:17:33.460238499+00:00. Canonical report: https://octocounts.com/github/aptos-labs/aptos-core

## Report FAQ

### How many lines of code does aptos-labs/aptos-core have?

aptos-labs/aptos-core has 1,625,146 total lines, including 1,439,996 code lines, 73,211 comment lines, and 111,939 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 20f937951535, 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 20f937951535 on 2026-07-16T17:17:33.460238499+00:00.

## Similar repository reports

- [oven-sh/bun](https://octocounts.com/github/oven-sh/bun) — Rust, 1,457,654 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,368,513 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,236,363 code lines
- [paritytech/polkadot-sdk](https://octocounts.com/github/paritytech/polkadot-sdk) — Rust, 1,192,097 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,170,843 code lines
- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,161,242 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
