godotengine/godot

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.

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.

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 370 code lines per file. C++ accounts for 33.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++240518568521426803164003266046
C Header43101383786827035375948180803
PO File10510304197187815437306201
C947838710611614112432114664
C++ Header4885408324362403159173001
C#3145809539413114817201
XML42735676342761301270
GLSL147408762976432077905
Java1564038425008114333943
Objective-C++71247071820127583748
Python344194621443113663665
JSON7115381153800

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

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does godotengine/godot have?

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.

How was the godotengine/godot line count measured?

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.

What commit was counted for godotengine/godot?

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.