electronicarts/CnC_Generals_Zero_Hour has 1,304,598 source lines of code out of 2,217,206 total lines across 5,698 files, counted with tokei from the main ref at commit 0a05454d8574 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-02 (commit 0a05454d8574), electronicarts/CnC_Generals_Zero_Hour contains 2,217,206 total lines: 1,304,598 code, 567,547 comments, 345,061 blank, across 5,698 files in 13 languages (top language: C++ 81.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving electronicarts/CnC_Generals_Zero_Hour to commit 0a05454d8574, 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 very large codebase by counted code lines. Code represents 58.8% of all lines, comments represent 25.6%, and the repository averages 229 code lines per file. C++ accounts for 81.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2729 | 1711355 | 1058606 | 393277 | 259472 |
| C Header | 2911 | 499325 | 244268 | 170445 | 84612 |
| C++ Header | 4 | 2338 | 914 | 1151 | 273 |
| Perl | 2 | 384 | 300 | 34 | 50 |
| INI | 2 | 322 | 148 | 152 | 22 |
| Makefile | 6 | 266 | 140 | 46 | 80 |
| C | 2 | 226 | 76 | 56 | 94 |
| Batch | 10 | 68 | 60 | 0 | 8 |
| HTML | 6 | 44 | 44 | 0 | 0 |
| Module-Definition | 6 | 44 | 32 | 4 | 8 |
| CSS | 2 | 10 | 10 | 0 | 0 |
| Markdown | 2 | 696 | 0 | 552 | 144 |
Top language: C++ 81.1%. Generated on .
electronicarts/CnC_Generals_Zero_Hour: 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.
electronicarts/CnC_Generals_Zero_Hour has 1,304,598 lines of code, plus 567,547 comment lines and 345,061 blank lines, for 2,217,206 total lines at commit 0a05454d8574 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0a05454d8574, 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 main at commit 0a05454d8574 on November 2, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for electronicarts/CnC_Generals_Zero_Hour on this page — 1,304,598 code lines across 13 languages, counted by tokei.