As of 2026-09-07 (commit 34d06658a858), godotengine/godot contains 5,738,965 total lines: 4,085,716 code, 728,730 comments, 924,519 blank, across 11,301 files in 34 languages (top: C++ 34.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving godotengine/godot to commit 34d06658a858, 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 362 code lines per file. C++ accounts for 34.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2376 | 1833938 | 1409034 | 161459 | 263445 |
| C Header | 4273 | 1371724 | 821654 | 371304 | 178766 |
| PO File | 97 | 893824 | 624330 | 5055 | 264439 |
| C | 926 | 810094 | 590481 | 109035 | 110578 |
| C++ Header | 481 | 529387 | 426900 | 30647 | 71840 |
| C# | 309 | 56296 | 37922 | 11309 | 7065 |
| XML | 420 | 35297 | 33911 | 128 | 1258 |
| GLSL | 145 | 40532 | 29519 | 3182 | 7831 |
| Java | 155 | 40169 | 24850 | 11393 | 3926 |
| Objective-C++ | 70 | 24059 | 17719 | 2680 | 3660 |
| Python | 344 | 19194 | 14205 | 1345 | 3644 |
| JSON | 7 | 11566 | 11566 | 0 | 0 |
Top language (C++ 34.5%). Generated at 2026-09-07T08:26:01.084937384+00:00.
godotengine/godot has 5,738,965 total lines, including 4,085,716 code lines, 728,730 comment lines, and 924,519 blank lines.
OctoCounts resolved the public GitHub repository to commit 34d06658a858, 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 34d06658a858 on 2026-09-07T08:26:01.084937384+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: