# mysql/mysql-server SLOC report

> As of 2026-08-26 (commit 23e360a7fac7), mysql/mysql-server contains 10,375,438 total lines: 6,974,636 code, 2,207,181 comments, 1,193,621 blank, across 33,534 files in 66 languages (top: C++ Header 34.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving mysql/mysql-server to commit 23e360a7fac7, 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 67.2% of all lines, comments represent 21.3%, and the repository averages 208 code lines per file. C++ Header accounts for 34.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 15,863 | 3,402,115 | 2,409,323 | 557,643 | 435,149 |
| C++ | 5,201 | 3,411,366 | 2,385,333 | 624,931 | 401,102 |
| C Header | 6,627 | 1,753,399 | 948,518 | 619,022 | 185,859 |
| Bitbake | 2,192 | 383,696 | 293,874 | 45,566 | 44,256 |
| C | 538 | 357,427 | 262,952 | 52,498 | 41,977 |
| C# | 204 | 150,488 | 122,230 | 16,933 | 11,325 |
| JSON | 81 | 117,173 | 117,171 | 0 | 2 |
| Java | 547 | 145,888 | 94,122 | 35,953 | 15,813 |
| SQL | 206 | 97,501 | 87,741 | 6,465 | 3,295 |
| CMake | 570 | 77,988 | 53,113 | 17,347 | 7,528 |
| Autoconf | 197 | 49,536 | 32,085 | 10,298 | 7,153 |
| Python | 96 | 39,698 | 30,304 | 4,579 | 4,815 |

Top language (C++ Header 34.5%). Generated at 2026-08-26T18:45:27.483145437+00:00. Canonical report: https://octocounts.com/github/mysql/mysql-server

## Report FAQ

### How many lines of code does mysql/mysql-server have?

mysql/mysql-server has 10,375,438 total lines, including 6,974,636 code lines, 2,207,181 comment lines, and 1,193,621 blank lines.

### How was the mysql/mysql-server line count measured?

OctoCounts resolved the public GitHub repository to commit 23e360a7fac7, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for mysql/mysql-server?

This OctoCounts report was generated from trunk at commit 23e360a7fac7 on 2026-08-26T18:45:27.483145437+00:00.

## Similar repository reports

- [jeeb/kirikiri2](https://octocounts.com/github/jeeb/kirikiri2) — C++ Header, 1,360,679 code lines
- [lightvector/KataGo](https://octocounts.com/github/lightvector/KataGo) — C++ Header, 699,431 code lines
- [love2d/love](https://octocounts.com/github/love2d/love) — C++ Header, 672,209 code lines
- [gexgd0419/NaturalVoiceSAPIAdapter](https://octocounts.com/github/gexgd0419/NaturalVoiceSAPIAdapter) — C++ Header, 230,023 code lines
- [seanbaxter/circle](https://octocounts.com/github/seanbaxter/circle) — C++ Header, 99,790 code lines
- [bytedance/flux](https://octocounts.com/github/bytedance/flux) — C++ Header, 74,102 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)
- [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)
