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.
yugabyte/yugabyte-db: 4,911,413 code lines at commit 9a99c69c01b0, counted with tokei-15.0.0 on 2026-11-16. Saved result 3d1574c0303f345d44c3c2a99ad2e0bddf90c1415805382e7a0ccc1fd20e97cc.
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 |
| YAML | 597 | 60326 | 58518 | 681 | 1127 |
| XML | 63 | 57504 | 56958 | 362 | 184 |
| JSX | 254 | 48766 | 44547 | 1257 | 2962 |
| Happy | 12 | 39975 | 35673 | 0 | 4302 |
| Shell | 268 | 45485 | 33782 | 6387 | 5316 |
| Perl | 194 | 41465 | 30720 | 5344 | 5401 |
| JavaScript | 142 | 21052 | 19228 | 537 | 1287 |
| Sass | 211 | 18970 | 16063 | 201 | 2706 |
| Autoconf | 18 | 16159 | 13425 | 686 | 2048 |
| Protocol Buffers | 72 | 19525 | 10305 | 5614 | 3606 |
| Makefile | 288 | 12986 | 8097 | 2536 | 2353 |
| SVG | 445 | 7806 | 7764 | 19 | 23 |
| C++ Header | 49 | 11261 | 7605 | 2005 | 1651 |
| Lex | 15 | 12479 | 7558 | 3339 | 1582 |
| CMake | 108 | 11550 | 7454 | 2810 | 1286 |
| Jinja2 | 62 | 6406 | 4809 | 1028 | 569 |
| Mustache | 22 | 2921 | 2669 | 72 | 180 |
| 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 | 1805 | 955 | 572 | 278 |
| 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 | 821 | 522 | 150 | 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 | 55 | 49 | 1 | 5 |
| 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 | 227 | 28667 | 0 | 20552 | 8115 |
| Plain Text | 64 | 31487 | 0 | 30629 | 858 |
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.
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,911,413 code lines across 57 languages, counted by tokei.