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.

As of 2026-11-16 (commit 0f21679a6901), aptos-labs/aptos-core contains 2,380,466 total lines: 2,063,970 code, 151,822 comments, 164,674 blank, across 7,697 files in 30 languages (top language: Rust 47.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 0f21679a6901), aptos-labs/aptos-core contains 2,380,466 total lines: 2,063,970 code, 151,822 comments, 164,674 blank, across 7,697 files in 30 languages (top language: Rust 47.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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

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.

Play the growth animation for aptos-labs/aptos-core on this page — 2,063,970 code lines across 30 languages, counted by tokei.