godotengine/godot has 4,237,573 source lines of code out of 5,954,752 total lines across 11,441 files, counted with tokei from the master ref at commit 4d0d43b77dd2 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-14 (commit 4d0d43b77dd2), godotengine/godot contains 5,954,752 total lines: 4,237,573 code, 740,638 comments, 976,541 blank, across 11,441 files in 36 languages (top language: C++ 33.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving godotengine/godot to commit 4d0d43b77dd2, 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 71.2% of all lines, comments represent 12.4%, and the repository averages 370 code lines per file. C++ accounts for 33.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2405 | 1856852 | 1426803 | 164003 | 266046 |
| C Header | 4310 | 1383786 | 827035 | 375948 | 180803 |
| PO File | 105 | 1030419 | 718781 | 5437 | 306201 |
| C | 947 | 838710 | 611614 | 112432 | 114664 |
| C++ Header | 488 | 540832 | 436240 | 31591 | 73001 |
| C# | 314 | 58095 | 39413 | 11481 | 7201 |
| XML | 427 | 35676 | 34276 | 130 | 1270 |
| GLSL | 147 | 40876 | 29764 | 3207 | 7905 |
| Java | 156 | 40384 | 25008 | 11433 | 3943 |
| Objective-C++ | 71 | 24707 | 18201 | 2758 | 3748 |
| Python | 344 | 19462 | 14431 | 1366 | 3665 |
| JSON | 7 | 11538 | 11538 | 0 | 0 |
Top language: C++ 33.7%. Generated on .
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.
godotengine/godot has 4,237,573 lines of code, plus 740,638 comment lines and 976,541 blank lines, for 5,954,752 total lines at commit 4d0d43b77dd2 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4d0d43b77dd2, 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 master at commit 4d0d43b77dd2 on November 14, 2026.
Play the growth animation for godotengine/godot on this page — 4,237,573 code lines across 36 languages, counted by tokei.