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.
yugabyte/yugabyte-db: 4,813,469 code lines at commit bb3637c043f0, counted with tokei-14.0.0 on 2026-10-16. Saved result 688b59fb9f170238e29dfbcb274038377bc96d3b5eb20ce82f375ca5651193d2.
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 |
| XML | 63 | 57468 | 56941 | 343 | 184 |
| YAML | 530 | 55408 | 53801 | 590 | 1017 |
| JSX | 254 | 48665 | 44454 | 1253 | 2958 |
| Happy | 12 | 39975 | 35673 | 0 | 4302 |
| Perl | 194 | 41433 | 30696 | 5339 | 5398 |
| Shell | 260 | 38065 | 27708 | 5752 | 4605 |
| JavaScript | 142 | 21052 | 19233 | 534 | 1285 |
| Sass | 211 | 18929 | 16035 | 194 | 2700 |
| Autoconf | 18 | 16152 | 13422 | 684 | 2046 |
| Protocol Buffers | 72 | 18990 | 10076 | 5387 | 3527 |
| Makefile | 284 | 12866 | 8027 | 2511 | 2328 |
| SVG | 444 | 7801 | 7759 | 19 | 23 |
| C++ Header | 49 | 11261 | 7605 | 2005 | 1651 |
| Lex | 15 | 12312 | 7468 | 3270 | 1574 |
| CMake | 108 | 11503 | 7410 | 2808 | 1285 |
| Jinja2 | 61 | 6217 | 4633 | 1017 | 567 |
| Mustache | 20 | 2866 | 2624 | 65 | 177 |
| M4 | 13 | 2902 | 1800 | 845 | 257 |
| Snakemake | 3 | 1667 | 1659 | 6 | 2 |
| Jupyter Notebooks | 20 | 2473 | 1614 | 498 | 361 |
| TOML | 54 | 2282 | 1443 | 514 | 325 |
| BASH | 39 | 1786 | 944 | 566 | 276 |
| AsciiDoc | 1 | 947 | 792 | 0 | 155 |
| RPM Specfile | 17 | 1102 | 770 | 138 | 194 |
| Scala | 16 | 886 | 660 | 102 | 124 |
| Visual Studio Project | 2 | 619 | 618 | 1 | 0 |
| Dockerfile | 17 | 816 | 521 | 146 | 149 |
| Batch | 11 | 582 | 457 | 30 | 95 |
| Kotlin | 6 | 441 | 339 | 50 | 52 |
| CSS | 15 | 452 | 333 | 66 | 53 |
| PHP | 3 | 208 | 154 | 17 | 37 |
| INI | 4 | 229 | 144 | 74 | 11 |
| HTML | 4 | 155 | 109 | 43 | 3 |
| GNU Style Assembly | 4 | 124 | 107 | 0 | 17 |
| Meson | 2 | 95 | 80 | 7 | 8 |
| Visual Studio Solution | 2 | 75 | 73 | 0 | 2 |
| D | 1 | 94 | 66 | 14 | 14 |
| HCL | 1 | 79 | 61 | 0 | 18 |
| Module-Definition | 2 | 49 | 44 | 1 | 4 |
| Apache Velocity | 1 | 38 | 33 | 0 | 5 |
| Pan | 2 | 40 | 32 | 1 | 7 |
| Monkey C | 1 | 5 | 5 | 0 | 0 |
| Bitbake | 1 | 4 | 2 | 0 | 2 |
| Markdown | 221 | 27699 | 0 | 19788 | 7911 |
| Plain Text | 64 | 31448 | 0 | 30597 | 851 |
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.303328208Z.
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 57 languages, counted by tokei.