yugabyte/yugabyte-db has 4,813,469 source lines of code out of 6,745,783 total lines across 18,109 files, counted from the master ref at commit bb3637c043f0 by the OctoCounts tokei engine on 2026-10-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-16 (commit bb3637c043f0), yugabyte/yugabyte-db contains 6,745,783 total lines: 4,813,469 code, 1,156,262 comments, 776,052 blank, across 18,109 files in 57 languages (top: C 26.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving yugabyte/yugabyte-db to commit bb3637c043f0, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 71.4% of all lines, comments represent 17.1%, and the repository averages 266 code lines per file. C accounts for 26.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1760 | 1911969 | 1249805 | 431786 | 230378 |
| C++ | 1915 | 1049762 | 786178 | 117890 | 145694 |
| Rust | 442 | 419750 | 400906 | 7929 | 10915 |
| SQL | 1939 | 467020 | 392701 | 31714 | 42605 |
| Java | 2298 | 459813 | 363160 | 51177 | 45476 |
| PO File | 366 | 669500 | 292368 | 249391 | 127741 |
| C Header | 2944 | 513510 | 290005 | 147238 | 76267 |
| JSON | 89 | 223205 | 223199 | 0 | 6 |
| TSX | 1086 | 201456 | 181816 | 6298 | 13342 |
| Go | 1192 | 153554 | 123791 | 11358 | 18405 |
| Python | 280 | 94025 | 72447 | 8302 | 13276 |
| TypeScript | 534 | 83959 | 70668 | 7904 | 5387 |
Top language (C 26.0%). Generated at .
yugabyte/yugabyte-db has 6,745,783 total lines, including 4,813,469 code lines, 1,156,262 comment lines, and 776,052 blank lines.
OctoCounts resolved the public GitHub repository to commit bb3637c043f0, 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 bb3637c043f0 on 2026-10-16T14:18:22.303328208+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for yugabyte/yugabyte-db on this page — 4,813,469 code lines across 12 languages, counted by tokei.