As of 2026-08-27 (commit daa8bac23494), yugabyte/yugabyte-db contains 6,551,516 total lines: 4,654,940 code, 1,134,718 comments, 761,858 blank, across 17,804 files in 57 languages (top: C 26.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving yugabyte/yugabyte-db to commit daa8bac23494, 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.1% of all lines, comments represent 17.3%, and the repository averages 261 code lines per file. C accounts for 26.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1759 | 1902470 | 1243759 | 429219 | 229492 |
| C++ | 1864 | 996776 | 746972 | 110182 | 139622 |
| SQL | 1923 | 465501 | 391546 | 31509 | 42446 |
| Java | 2251 | 442386 | 349767 | 48463 | 44156 |
| Rust | 450 | 359602 | 342423 | 7531 | 9648 |
| PO File | 366 | 669500 | 292368 | 249391 | 127741 |
| C Header | 2916 | 506239 | 286453 | 144654 | 75132 |
| JSON | 87 | 221675 | 221669 | 0 | 6 |
| TSX | 1074 | 197145 | 177965 | 6109 | 13071 |
| Go | 1137 | 142941 | 114821 | 10585 | 17535 |
| TypeScript | 518 | 81629 | 68785 | 7678 | 5166 |
| Python | 272 | 88706 | 68399 | 7663 | 12644 |
Top language (C 26.7%). Generated at 2026-08-27T23:43:44.899522522+00:00.
yugabyte/yugabyte-db has 6,551,516 total lines, including 4,654,940 code lines, 1,134,718 comment lines, and 761,858 blank lines.
OctoCounts resolved the public GitHub repository to commit daa8bac23494, 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 daa8bac23494 on 2026-08-27T23:43:44.899522522+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: