yugabyte/yugabyte-db
yugabyte/yugabyte-db has 4,945,652 source lines of code out of 6,918,721 total lines across 18,563 files, counted with tokei from the master ref at commit 3f1fb89df20e on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
yugabyte/yugabyte-db: 4,945,652 code lines at commit 3f1fb89df20e, counted with tokei-15.0.0 on 2026-11-24. Saved result d628f9998506dc614e8b54ea742fef3579dd09926114cb6acf883497dcd7a9bc.
Source: yugabyte/yugabyte-db on GitHub · counted commit 3f1fb89df20e
OctoCounts produced this report by resolving yugabyte/yugabyte-db to commit 3f1fb89df20e, 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.
Repository size insights
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.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1766 | 1922374 | 1255847 | 435037 | 231490 |
| C++ | 1958 | 1113762 | 835340 | 126166 | 152256 |
| Rust | 470 | 427733 | 407113 | 8746 | 11874 |
| SQL | 1971 | 474041 | 398254 | 32417 | 43370 |
| Java | 2372 | 485746 | 383183 | 55299 | 47264 |
| C Header | 2967 | 520339 | 293432 | 149423 | 77484 |
| PO File | 366 | 669500 | 292368 | 249391 | 127741 |
| JSON | 87 | 224887 | 224881 | 0 | 6 |
| TSX | 1107 | 206980 | 186872 | 6432 | 13676 |
| Go | 1278 | 170163 | 138266 | 12462 | 19435 |
| TypeScript | 568 | 89146 | 75142 | 8194 | 5810 |
| Python | 283 | 97433 | 75038 | 8828 | 13567 |
| YAML | 607 | 61622 | 59769 | 692 | 1161 |
| XML | 63 | 57504 | 56958 | 362 | 184 |
| JSX | 254 | 48982 | 44745 | 1259 | 2978 |
| Happy | 12 | 39975 | 35673 | 0 | 4302 |
| Shell | 268 | 45310 | 33658 | 6365 | 5287 |
| Perl | 194 | 41471 | 30724 | 5346 | 5401 |
| JavaScript | 142 | 21056 | 19232 | 537 | 1287 |
| Sass | 212 | 19290 | 16321 | 211 | 2758 |
| Autoconf | 17 | 16137 | 13404 | 686 | 2047 |
| Protocol Buffers | 72 | 19740 | 10385 | 5721 | 3634 |
| Makefile | 287 | 13015 | 8122 | 2552 | 2341 |
| SVG | 451 | 7834 | 7792 | 19 | 23 |
| C++ Header | 49 | 11297 | 7628 | 2013 | 1656 |
| Lex | 15 | 12479 | 7558 | 3339 | 1582 |
| CMake | 108 | 11573 | 7476 | 2810 | 1287 |
| Jinja2 | 62 | 6423 | 4825 | 1028 | 570 |
| 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 | 57 | 2375 | 1510 | 527 | 338 |
| 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 | 20 | 955 | 598 | 172 | 185 |
| Batch | 10 | 536 | 414 | 30 | 92 |
| 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 | 226 | 30142 | 0 | 21606 | 8536 |
| Plain Text | 62 | 31485 | 0 | 30627 | 858 |
Top language: C 25.4%. Generated on .
Counting rules and retention
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.
Reproduce this report
Report FAQ
How many lines of code does yugabyte/yugabyte-db have?
yugabyte/yugabyte-db has 4,945,652 lines of code, plus 1,180,804 comment lines and 792,265 blank lines, for 6,918,721 total lines at commit 3f1fb89df20e on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the yugabyte/yugabyte-db line count measured?
OctoCounts resolved the public GitHub repository to commit 3f1fb89df20e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for yugabyte/yugabyte-db?
This OctoCounts report was generated from master at commit 3f1fb89df20e on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- meta/hermes — C, 5,224,883 code lines
- wine-mirror/wine — C, 5,485,803 code lines
- vcvkk/Telegram-iOS — C, 5,661,625 code lines
- wireshark/wireshark — C, 5,833,167 code lines
- semgrep/semgrep — C, 3,872,446 code lines
- zephyrproject-rtos/zephyr — C, 3,856,866 code lines
Play the growth animation for yugabyte/yugabyte-db on this page — 4,945,652 code lines across 57 languages, counted by tokei.