TrinityCore/TrinityCore has 21,554,419 source lines of code out of 22,226,284 total lines across 23,467 files, counted with tokei from the 4ad7c7ba5bd2a3e73eb848babaf9b39696d63473 ref at commit 4ad7c7ba5bd2 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-05 (commit 4ad7c7ba5bd2), TrinityCore/TrinityCore contains 22,226,284 total lines: 21,554,419 code, 328,853 comments, 343,012 blank, across 23,467 files in 21 languages (top language: SQL 94.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving TrinityCore/TrinityCore to commit 4ad7c7ba5bd2, 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.
This is a very large codebase by counted code lines. Code represents 97.0% of all lines, comments represent 1.5%, and the repository averages 918 code lines per file. SQL accounts for 94.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| SQL | 20272 | 20679504 | 20364741 | 175302 | 139461 |
| C++ | 1657 | 978459 | 774721 | 70827 | 132911 |
| C Header | 1280 | 489724 | 359261 | 68743 | 61720 |
| C | 97 | 55834 | 41777 | 8032 | 6025 |
| JSON | 5 | 5451 | 5451 | 0 | 0 |
| CMake | 69 | 5822 | 4211 | 911 | 700 |
| C++ Header | 34 | 3702 | 1747 | 1173 | 782 |
| Protocol Buffers | 8 | 827 | 760 | 0 | 67 |
| Autoconf | 2 | 1027 | 475 | 392 | 160 |
| Python | 3 | 664 | 465 | 70 | 129 |
| PHP | 3 | 368 | 337 | 17 | 14 |
| Shell | 6 | 275 | 231 | 13 | 31 |
Top language: SQL 94.5%. Generated on .
TrinityCore/TrinityCore: 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.
TrinityCore/TrinityCore has 21,554,419 lines of code, plus 328,853 comment lines and 343,012 blank lines, for 22,226,284 total lines at commit 4ad7c7ba5bd2 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4ad7c7ba5bd2, 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 4ad7c7ba5bd2a3e73eb848babaf9b39696d63473 at commit 4ad7c7ba5bd2 on November 5, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for TrinityCore/TrinityCore on this page — 21,554,419 code lines across 21 languages, counted by tokei.