MonoGame/MonoGame has 196,947 source lines of code out of 285,551 total lines across 1,573 files, counted with tokei from the 76ed1c24f7dbe91421023c553978fa723548b22a ref at commit 76ed1c24f7db on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-05 (commit 76ed1c24f7db), MonoGame/MonoGame contains 285,551 total lines: 196,947 code, 49,070 comments, 39,534 blank, across 1,573 files in 18 languages (top language: C# 68.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving MonoGame/MonoGame to commit 76ed1c24f7db, 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.
This is a large codebase by counted code lines. Code represents 69.0% of all lines, comments represent 17.2%, and the repository averages 125 code lines per file. C# accounts for 68.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 1328 | 201652 | 135440 | 37092 | 29120 |
| C Header | 32 | 37006 | 27371 | 5544 | 4091 |
| C++ | 24 | 30745 | 24519 | 1480 | 4746 |
| MSBuild | 76 | 5565 | 5205 | 104 | 256 |
| HLSL | 28 | 2359 | 1523 | 183 | 653 |
| Visual Studio Solution | 17 | 1383 | 1366 | 0 | 17 |
| XSL | 1 | 453 | 443 | 0 | 10 |
| XML | 32 | 434 | 431 | 3 | 0 |
| JSON | 4 | 248 | 248 | 0 | 0 |
| Lua | 2 | 272 | 214 | 12 | 46 |
| .NET Resource | 1 | 123 | 64 | 59 | 0 |
| SVG | 1 | 63 | 63 | 0 | 0 |
Top language: C# 68.8%. Generated on .
MonoGame/MonoGame: 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.
MonoGame/MonoGame has 196,947 lines of code, plus 49,070 comment lines and 39,534 blank lines, for 285,551 total lines at commit 76ed1c24f7db on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 76ed1c24f7db, 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 76ed1c24f7dbe91421023c553978fa723548b22a at commit 76ed1c24f7db on November 5, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for MonoGame/MonoGame on this page — 196,947 code lines across 18 languages, counted by tokei.