aptos-labs/aptos-core has 2,063,970 source lines of code out of 2,380,466 total lines across 7,697 files, counted with tokei from the main ref at commit 0f21679a6901 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
aptos-labs/aptos-core: 2,063,970 code lines at commit 0f21679a6901, counted with tokei-15.0.0 on 2026-11-16. Saved result 1531e907de6ed0725b90d29dcbb48e7cab9a27650cc846ebf809a7828b597b53.
OctoCounts produced this report by resolving aptos-labs/aptos-core to commit 0f21679a6901, 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 86.7% of all lines, comments represent 6.4%, and the repository averages 268 code lines per file. Rust accounts for 47.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 4037 | 1148922 | 980173 | 62302 | 106447 |
| JSON | 638 | 441606 | 441598 | 0 | 8 |
| Lean | 1252 | 371950 | 291199 | 48430 | 32321 |
| SVG | 33 | 189977 | 189971 | 2 | 4 |
| YAML | 172 | 69730 | 66166 | 843 | 2721 |
| Python | 201 | 52266 | 44313 | 2530 | 5423 |
| TypeScript | 58 | 18606 | 16132 | 772 | 1702 |
| TOML | 652 | 17694 | 15149 | 436 | 2109 |
| HCL | 90 | 8462 | 7126 | 234 | 1102 |
| Shell | 108 | 9215 | 6613 | 1440 | 1162 |
| TSX | 14 | 1131 | 1002 | 22 | 107 |
| Protocol Buffers | 7 | 1015 | 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 | 493 | 328 | 68 | 97 |
| 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 | 342 | 44221 | 0 | 33470 | 10751 |
| Plain Text | 25 | 821 | 0 | 806 | 15 |
Top language: Rust 47.5%. Generated on .
aptos-labs/aptos-core: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
aptos-labs/aptos-core has 2,063,970 lines of code, plus 151,822 comment lines and 164,674 blank lines, for 2,380,466 total lines at commit 0f21679a6901 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0f21679a6901, 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 0f21679a6901 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for aptos-labs/aptos-core on this page — 2,063,970 code lines across 30 languages, counted by tokei.