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.
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 | 15863 | 3402115 | 2409323 | 557643 | 435149 |
| C++ | 5201 | 3411366 | 2385333 | 624931 | 401102 |
| C Header | 6627 | 1753399 | 948518 | 619022 | 185859 |
| Bitbake | 2192 | 383696 | 293874 | 45566 | 44256 |
| C | 538 | 357427 | 262952 | 52498 | 41977 |
| C# | 204 | 150488 | 122230 | 16933 | 11325 |
| JSON | 81 | 117173 | 117171 | 0 | 2 |
| Java | 547 | 145888 | 94122 | 35953 | 15813 |
| SQL | 206 | 97501 | 87741 | 6465 | 3295 |
| CMake | 570 | 77988 | 53113 | 17347 | 7528 |
| Autoconf | 197 | 49536 | 32085 | 10298 | 7153 |
| Python | 96 | 39698 | 30304 | 4579 | 4815 |
Top language (C++ Header 34.5%). Generated at 2026-08-26T18:45:27.483145437+00:00.
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.
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.
This OctoCounts report was generated from trunk at commit 23e360a7fac7 on 2026-08-26T18:45:27.483145437+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: