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.
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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1767 | 1921066 | 1255286 | 434358 | 231422 |
| C++ | 1943 | 1098602 | 823594 | 124292 | 150716 |
| Rust | 442 | 419837 | 400952 | 7963 | 10922 |
| SQL | 1958 | 473900 | 398183 | 32345 | 43372 |
| Java | 2361 | 478951 | 378018 | 54034 | 46899 |
| C Header | 2964 | 518641 | 292525 | 148972 | 77144 |
| PO File | 366 | 669500 | 292368 | 249391 | 127741 |
| JSON | 88 | 224558 | 224552 | 0 | 6 |
| TSX | 1100 | 205420 | 185454 | 6394 | 13572 |
| Go | 1251 | 166207 | 134542 | 12363 | 19302 |
| TypeScript | 560 | 87768 | 73973 | 8093 | 5702 |
| Python | 283 | 95880 | 73914 | 8626 | 13340 |
Top language: C 25.6%. Generated on .
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.
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.
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.
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.