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.
godotengine/godot: 4,126,326 code lines at commit 679066724352, counted with tokei-14.0.0 on 2026-10-21. Saved result 4301ddf67d619ac9c921c6343a5a7534c95922718dc130ee3c9397cffd16f8b5.
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 |
| Bitbake | 102 | 12342 | 10949 | 372 | 1021 |
| Kotlin | 56 | 12319 | 7970 | 2813 | 1536 |
| C++ Module | 2 | 10999 | 7827 | 1600 | 1572 |
| JavaScript | 31 | 10727 | 6961 | 2783 | 983 |
| Happy | 1 | 4583 | 4368 | 0 | 215 |
| Objective-C | 1 | 1998 | 1706 | 72 | 220 |
| SVG | 1191 | 1191 | 1191 | 0 | 0 |
| Scons | 1 | 1278 | 956 | 170 | 152 |
| MSBuild | 26 | 949 | 757 | 86 | 106 |
| Shell | 10 | 708 | 484 | 100 | 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 |
| Prolog | 1 | 18 | 16 | 0 | 2 |
| YAML | 1 | 12 | 3 | 9 | 0 |
| Markdown | 38 | 5499 | 0 | 4556 | 943 |
| Plain Text | 236 | 9458 | 0 | 8490 | 968 |
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.837370369Z.
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 35 languages, counted by tokei.