# yugabyte/yugabyte-db SLOC report

> 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.

## Repository size insights

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 | 1,759 | 1,902,470 | 1,243,759 | 429,219 | 229,492 |
| C++ | 1,864 | 996,776 | 746,972 | 110,182 | 139,622 |
| SQL | 1,923 | 465,501 | 391,546 | 31,509 | 42,446 |
| Java | 2,251 | 442,386 | 349,767 | 48,463 | 44,156 |
| Rust | 450 | 359,602 | 342,423 | 7,531 | 9,648 |
| PO File | 366 | 669,500 | 292,368 | 249,391 | 127,741 |
| C Header | 2,916 | 506,239 | 286,453 | 144,654 | 75,132 |
| JSON | 87 | 221,675 | 221,669 | 0 | 6 |
| TSX | 1,074 | 197,145 | 177,965 | 6,109 | 13,071 |
| Go | 1,137 | 142,941 | 114,821 | 10,585 | 17,535 |
| TypeScript | 518 | 81,629 | 68,785 | 7,678 | 5,166 |
| Python | 272 | 88,706 | 68,399 | 7,663 | 12,644 |

Top language (C 26.7%). Generated at 2026-08-27T23:43:44.899522522+00:00. Canonical report: https://octocounts.com/github/yugabyte/yugabyte-db

## Report FAQ

### How many lines of code does yugabyte/yugabyte-db have?

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.

### How was the yugabyte/yugabyte-db line count measured?

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.

### What commit was counted for yugabyte/yugabyte-db?

This OctoCounts report was generated from master at commit daa8bac23494 on 2026-08-27T23:43:44.899522522+00:00.

## Similar repository reports

- [zephyrproject-rtos/zephyr](https://octocounts.com/github/zephyrproject-rtos/zephyr) — C, 4,486,339 code lines
- [TelegramMessenger/Telegram-iOS](https://octocounts.com/github/TelegramMessenger/Telegram-iOS) — C, 5,657,212 code lines
- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,918,497 code lines
- [Enigma-Soul/yunhu-gram](https://octocounts.com/github/Enigma-Soul/yunhu-gram) — C, 6,358,263 code lines
- [tsirysndr/rockbox-zig](https://octocounts.com/github/tsirysndr/rockbox-zig) — C, 1,965,584 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,358,645 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
