meta/buck2
meta/buck2 has 1,021,932 source lines of code out of 1,244,889 total lines across 5,446 files, counted with tokei from the main ref at commit d3af1f732da7 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-24 (commit d3af1f732da7), meta/buck2 contains 1,244,889 total lines: 1,021,932 code, 107,112 comments, 115,845 blank, across 5,446 files in 41 languages (top language: Rust 62.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
Source: meta/buck2 on GitHub · counted commit d3af1f732da7
OctoCounts produced this report by resolving meta/buck2 to commit d3af1f732da7, 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 82.1% of all lines, comments represent 8.6%, and the repository averages 188 code lines per file. Rust accounts for 62.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 2883 | 764485 | 641697 | 49205 | 73583 |
| Bazel | 758 | 136240 | 107547 | 15989 | 12704 |
| JavaScript | 9 | 67607 | 63325 | 475 | 3807 |
| Java | 544 | 78006 | 54921 | 13984 | 9101 |
| JSON | 40 | 48805 | 48805 | 0 | 0 |
| Python | 231 | 40006 | 30948 | 3808 | 5250 |
| Kotlin | 238 | 33753 | 23743 | 6880 | 3130 |
| TSX | 67 | 12126 | 9829 | 1381 | 916 |
| Erlang | 53 | 11217 | 9364 | 786 | 1067 |
| Protocol Buffers | 32 | 13699 | 7678 | 4089 | 1932 |
| TypeScript | 48 | 10511 | 7451 | 2164 | 896 |
| TOML | 306 | 9370 | 7182 | 1299 | 889 |
Top language: Rust 62.8%. Generated on .
Counting rules and retention
meta/buck2: 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
Report FAQ
How many lines of code does meta/buck2 have?
meta/buck2 has 1,021,932 lines of code, plus 107,112 comment lines and 115,845 blank lines, for 1,244,889 total lines at commit d3af1f732da7 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the meta/buck2 line count measured?
OctoCounts resolved the public GitHub repository to commit d3af1f732da7, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for meta/buck2?
This OctoCounts report was generated from main at commit d3af1f732da7 on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- zephium-browser/Zephium — Rust, 1,027,592 code lines
- l0ng-ai/openidea — Rust, 1,034,916 code lines
- ZhangHanDong/grok-build — Rust, 994,586 code lines
- mondaylabsltd/vela-wallet — Rust, 993,302 code lines
- alplabai/signex — Rust, 993,256 code lines
- tonhowtf/omniget — Rust, 993,146 code lines
Play the growth animation for meta/buck2 on this page — 1,021,932 code lines across 41 languages, counted by tokei.