# godotengine/godot SLOC report

> godotengine/godot: 4,126,326 code lines at commit 679066724352, counted with tokei-14.0.0 on 2026-10-21. Saved result 4301ddf67d619ac9c921c6343a5a7534c95922718dc130ee3c9397cffd16f8b5.

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.

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.

## Repository size insights

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++ | 2,406 | 1,851,570 | 1,422,585 | 163,433 | 265,552 |
| C Header | 4,306 | 1,379,351 | 824,698 | 375,134 | 179,519 |
| PO File | 97 | 893,824 | 624,330 | 5,055 | 264,439 |
| C | 942 | 830,745 | 606,710 | 110,809 | 113,226 |
| C++ Header | 484 | 534,635 | 430,927 | 31,328 | 72,380 |
| C# | 314 | 58,095 | 39,413 | 11,481 | 7,201 |
| XML | 427 | 35,671 | 34,272 | 129 | 1,270 |
| GLSL | 147 | 40,876 | 29,765 | 3,206 | 7,905 |
| Java | 156 | 40,353 | 24,981 | 11,433 | 3,939 |
| Objective-C++ | 71 | 24,574 | 18,072 | 2,755 | 3,747 |
| Python | 344 | 19,444 | 14,414 | 1,367 | 3,663 |
| JSON | 7 | 11,538 | 11,538 | 0 | 0 |
| Bitbake | 102 | 12,342 | 10,949 | 372 | 1,021 |
| Kotlin | 56 | 12,319 | 7,970 | 2,813 | 1,536 |
| C++ Module | 2 | 10,999 | 7,827 | 1,600 | 1,572 |
| JavaScript | 31 | 10,727 | 6,961 | 2,783 | 983 |
| Happy | 1 | 4,583 | 4,368 | 0 | 215 |
| Objective-C | 1 | 1,998 | 1,706 | 72 | 220 |
| SVG | 1,191 | 1,191 | 1,191 | 0 | 0 |
| Scons | 1 | 1,278 | 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 | 5,499 | 0 | 4,556 | 943 |
| Plain Text | 236 | 9,458 | 0 | 8,490 | 968 |

Top language (C++ 34.5%). Generated at 2026-10-21T02:48:08.837370369Z. Canonical report: https://octocounts.com/github/godotengine/godot/commit/679066724352c12673001d692d41dc2dab9314c0?reportId=4301ddf67d619ac9c921c6343a5a7534c95922718dc130ee3c9397cffd16f8b5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/godotengine/godot/commit/679066724352c12673001d692d41dc2dab9314c0?reportId=4301ddf67d619ac9c921c6343a5a7534c95922718dc130ee3c9397cffd16f8b5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does godotengine/godot have?

godotengine/godot has 5,794,800 total lines, including 4,126,326 code lines, 737,449 comment lines, and 931,025 blank lines.

### How was the godotengine/godot line count measured?

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.

### What commit was counted for godotengine/godot?

This OctoCounts report was generated from master at commit 679066724352 on 2026-10-21T02:48:08.837370369Z.

## Similar repository reports

- [facebook/hhvm](https://octocounts.com/github/facebook/hhvm) — C++, 3,731,212 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,160,365 code lines
- [RosettaCommons/rosetta](https://octocounts.com/github/RosettaCommons/rosetta) — C++, 3,115,217 code lines
- [LibreOffice/core](https://octocounts.com/github/LibreOffice/core) — C++, 6,348,402 code lines
- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,382,583 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,667,007 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
