godotengine/godot has 4,126,326 source lines of code out of 5,794,800 total lines across 11,422 files, counted from the master ref at commit 679066724352 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-21 (commit 679066724352), godotengine/godot contains 5,794,800 total lines: 4,126,326 code, 737,449 comments, 931,025 blank, across 11,422 files in 35 languages (top: C++ 34.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving godotengine/godot to commit 679066724352, 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 71.2% of all lines, comments represent 12.7%, and the repository averages 361 code lines per file. C++ accounts for 34.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2406 | 1851570 | 1422585 | 163433 | 265552 |
| C Header | 4306 | 1379351 | 824698 | 375134 | 179519 |
| PO File | 97 | 893824 | 624330 | 5055 | 264439 |
| C | 942 | 830745 | 606710 | 110809 | 113226 |
| C++ Header | 484 | 534635 | 430927 | 31328 | 72380 |
| C# | 314 | 58095 | 39413 | 11481 | 7201 |
| XML | 427 | 35671 | 34272 | 129 | 1270 |
| GLSL | 147 | 40876 | 29765 | 3206 | 7905 |
| Java | 156 | 40353 | 24981 | 11433 | 3939 |
| Objective-C++ | 71 | 24574 | 18072 | 2755 | 3747 |
| Python | 344 | 19444 | 14414 | 1367 | 3663 |
| JSON | 7 | 11538 | 11538 | 0 | 0 |
Top language (C++ 34.5%). Generated at .
godotengine/godot has 5,794,800 total lines, including 4,126,326 code lines, 737,449 comment lines, and 931,025 blank lines.
OctoCounts resolved the public GitHub repository to commit 679066724352, 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 679066724352 on 2026-10-21T02:48:08.837370369+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for godotengine/godot on this page — 4,126,326 code lines across 12 languages, counted by tokei.