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 from the main ref at commit 0a05454d8574 by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
electronicarts/CnC_Generals_Zero_Hour: 1,304,598 code lines at commit 0a05454d8574, counted with tokei-14.0.0 on 2026-10-08. Saved result e12ea934668b2b509dea3b7e582a71a657eae555049f517b1a83c2f40952bbbb.
OctoCounts produced this report by resolving electronicarts/CnC_Generals_Zero_Hour to commit 0a05454d8574, 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 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 |
| Plain Text | 16 | 2128 | 0 | 1830 | 298 |
Top language (C++ 81.1%). Generated at .
electronicarts/CnC_Generals_Zero_Hour has 2,217,206 total lines, including 1,304,598 code lines, 567,547 comment lines, and 345,061 blank lines.
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 2026-10-08T02:06:53.957283448Z.
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.