yugabyte/yugabyte-db

yugabyte/yugabyte-db has 4,911,413 source lines of code out of 6,873,300 total lines across 18,436 files, counted with tokei from the master ref at commit 9a99c69c01b0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 9a99c69c01b0), yugabyte/yugabyte-db contains 6,873,300 total lines: 4,911,413 code, 1,174,019 comments, 787,868 blank, across 18,436 files in 57 languages (top language: C 25.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 9a99c69c01b0), yugabyte/yugabyte-db contains 6,873,300 total lines: 4,911,413 code, 1,174,019 comments, 787,868 blank, across 18,436 files in 57 languages (top language: C 25.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving yugabyte/yugabyte-db to commit 9a99c69c01b0, 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 71.5% of all lines, comments represent 17.1%, and the repository averages 266 code lines per file. C accounts for 25.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C176719210661255286434358231422
C++19431098602823594124292150716
Rust442419837400952796310922
SQL19584739003981833234543372
Java23614789513780185403446899
C Header296451864129252514897277144
PO File366669500292368249391127741
JSON8822455822455206
TSX1100205420185454639413572
Go12511662071345421236319302
TypeScript560877687397380935702
Python2839588073914862613340

Top language: C 25.6%. Generated on .

Counting rules and retention

yugabyte/yugabyte-db: 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 yugabyte/yugabyte-db have?

yugabyte/yugabyte-db has 4,911,413 lines of code, plus 1,174,019 comment lines and 787,868 blank lines, for 6,873,300 total lines at commit 9a99c69c01b0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the yugabyte/yugabyte-db line count measured?

OctoCounts resolved the public GitHub repository to commit 9a99c69c01b0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for yugabyte/yugabyte-db?

This OctoCounts report was generated from master at commit 9a99c69c01b0 on November 16, 2026.

Play the growth animation for yugabyte/yugabyte-db on this page — 4,911,413 code lines across 57 languages, counted by tokei.