mysql/mysql-server

mysql/mysql-server has 7,187,066 source lines of code out of 10,680,705 total lines across 34,708 files, counted with tokei from the trunk ref at commit 06bcb0eb0ad2 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-10-31 (commit 06bcb0eb0ad2), mysql/mysql-server contains 10,680,705 total lines: 7,187,066 code, 2,256,479 comments, 1,237,160 blank, across 34,708 files in 66 languages (top language: C++ Header 35.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-10-31 (commit 06bcb0eb0ad2), mysql/mysql-server contains 10,680,705 total lines: 7,187,066 code, 2,256,479 comments, 1,237,160 blank, across 34,708 files in 66 languages (top language: C++ Header 35.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving mysql/mysql-server to commit 06bcb0eb0ad2, 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 67.3% of all lines, comments represent 21.1%, and the repository averages 207 code lines per file. C++ Header accounts for 35.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++ Header1672836304912571904589488469099
C++534034621152421659633646406810
C Header67631773466959120625889188457
Bitbake22193855392952874574944503
C5383573272628495249841980
C#2041504881222301693311325
JSON7911579611579402
Java547145888941223595315813
SQL206975018774164653295
CMake5758022354765175697889
Autoconf1995010832554103527202
Python97400893058346304876

Top language: C++ Header 35.8%. Generated on .

Counting rules and retention

mysql/mysql-server: 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

Reproduce this exact report and configuration.

Report FAQ

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

mysql/mysql-server has 7,187,066 lines of code, plus 2,256,479 comment lines and 1,237,160 blank lines, for 10,680,705 total lines at commit 06bcb0eb0ad2 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 06bcb0eb0ad2, 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 06bcb0eb0ad2 on October 31, 2026.

Play the growth animation for mysql/mysql-server on this page — 7,187,066 code lines across 66 languages, counted by tokei.