aptos-labs/aptos-core

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Rust4037114892298017362302106447
JSON63844160644159808
Lean12523719502911994843032321
SVG3318997718997124
YAML17269730661668432721
Python201522664431325305423
TypeScript5818606161327721702
TOML65217694151494362109
HCL90846271262341102
Shell1089215661314401162
TSX141131100222107
Protocol Buffers7101576383169
PowerShell498275094138
JavaScript1292473110687
Pan9669612651
HTML3408382026
Dockerfile144933286897
Forge Config4557310127120
CSS2306246159
C22582122917
SQL10625804
Go1524228
Makefile25437611
INI1342527
AWK1201523
D113913
Tera118882
Jupyter Notebooks10000
Markdown3424422103347010751
Plain Text25821080615

Top language: Rust 47.5%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

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

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.

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

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.

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

This OctoCounts report was generated from main at commit 0f21679a6901 on November 16, 2026.

Similar repository reports

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.