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.
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 | 3475 | 994678 | 844382 | 54754 | 95542 |
| JSON | 352 | 272835 | 272827 | 0 | 8 |
| SVG | 33 | 189977 | 189971 | 2 | 4 |
| YAML | 172 | 69729 | 66165 | 843 | 2721 |
| Python | 118 | 23904 | 19793 | 1198 | 2913 |
| TypeScript | 58 | 18606 | 16132 | 772 | 1702 |
| TOML | 595 | 14862 | 13019 | 310 | 1533 |
| HCL | 90 | 8462 | 7126 | 234 | 1102 |
| Shell | 98 | 7467 | 5302 | 1134 | 1031 |
| TSX | 14 | 1131 | 1002 | 22 | 107 |
| Protocol Buffers | 7 | 1015 | 763 | 83 | 169 |
| PowerShell | 4 | 982 | 750 | 94 | 138 |
Top language (Rust 58.6%). Generated at .
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.
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.
This OctoCounts report was generated from main at commit 20f937951535 on 2026-07-16T17:17:33.460238499+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: