godotengine/godot
godotengine/godot has 4,238,960 source lines of code out of 5,956,906 total lines across 11,440 files, counted with tokei from the master ref at commit a661dfdbccc6 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
godotengine/godot: 4,238,960 code lines at commit a661dfdbccc6, counted with tokei-15.0.0 on 2026-11-24. Saved result 29d5ee8a76162cc96195b28e1d44d84a998f7b91f54301e7eeaf323bc93e298e.
Source: godotengine/godot on GitHub · counted commit a661dfdbccc6
OctoCounts produced this report by resolving godotengine/godot to commit a661dfdbccc6, 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 71.2% of all lines, comments represent 12.4%, and the repository averages 371 code lines per file. C++ accounts for 33.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2405 | 1857470 | 1427316 | 164041 | 266113 |
| C Header | 4309 | 1384124 | 827007 | 376310 | 180807 |
| PO File | 105 | 1030419 | 718781 | 5437 | 306201 |
| C | 947 | 839799 | 612418 | 112601 | 114780 |
| C++ Header | 488 | 540832 | 436240 | 31591 | 73001 |
| C# | 314 | 58100 | 39416 | 11481 | 7203 |
| XML | 427 | 35676 | 34276 | 130 | 1270 |
| GLSL | 147 | 40876 | 29764 | 3207 | 7905 |
| Java | 156 | 40384 | 25008 | 11433 | 3943 |
| Objective-C++ | 71 | 24743 | 18235 | 2758 | 3750 |
| Python | 344 | 19539 | 14497 | 1366 | 3676 |
| JSON | 7 | 11538 | 11538 | 0 | 0 |
| Bitbake | 102 | 12344 | 10952 | 372 | 1020 |
| Kotlin | 56 | 12355 | 7992 | 2821 | 1542 |
| C++ Module | 2 | 10999 | 7827 | 1600 | 1572 |
| JavaScript | 31 | 9875 | 6742 | 2262 | 871 |
| Happy | 1 | 4583 | 4368 | 0 | 215 |
| Objective-C | 1 | 1999 | 1707 | 72 | 220 |
| SVG | 1191 | 1191 | 1191 | 0 | 0 |
| Scons | 1 | 1281 | 959 | 170 | 152 |
| MSBuild | 26 | 952 | 760 | 86 | 106 |
| Shell | 10 | 713 | 487 | 102 | 124 |
| GNU Style Assembly | 1 | 602 | 390 | 122 | 90 |
| Swift | 3 | 420 | 257 | 103 | 60 |
| ReStructuredText | 1 | 218 | 171 | 0 | 47 |
| Visual Studio Solution | 3 | 165 | 162 | 0 | 3 |
| GDScript | 11 | 271 | 154 | 34 | 83 |
| AsciiDoc | 2 | 133 | 102 | 3 | 28 |
| TOML | 1 | 109 | 100 | 4 | 5 |
| Batch | 1 | 89 | 68 | 0 | 21 |
| CMake | 1 | 36 | 29 | 2 | 5 |
| Godot TextScene | 1 | 34 | 27 | 0 | 7 |
| Prolog | 1 | 18 | 16 | 0 | 2 |
| YAML | 1 | 12 | 3 | 9 | 0 |
| Markdown | 37 | 5567 | 0 | 4612 | 955 |
| Plain Text | 235 | 9440 | 0 | 8476 | 964 |
Top language: C++ 33.7%. Generated on .
Counting rules and retention
godotengine/godot: 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
Report FAQ
How many lines of code does godotengine/godot have?
godotengine/godot has 4,238,960 lines of code, plus 741,205 comment lines and 976,741 blank lines, for 5,956,906 total lines at commit a661dfdbccc6 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the godotengine/godot line count measured?
OctoCounts resolved the public GitHub repository to commit a661dfdbccc6, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for godotengine/godot?
This OctoCounts report was generated from master at commit a661dfdbccc6 on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- bluescarni/heyoka — C++, 4,215,445 code lines
- openjdk/jfx — C++, 4,304,092 code lines
- Kitware/VTK — C++, 4,794,497 code lines
- meta/hhvm — C++, 3,741,526 code lines
- momusdigital/fnv_decomp — C++, 3,550,853 code lines
- quackscarfmc-eng/ChimeraCraft — C++, 5,234,408 code lines
Play the growth animation for godotengine/godot on this page — 4,238,960 code lines across 36 languages, counted by tokei.