# electronicarts/CnC_Generals_Zero_Hour SLOC report

> As of 2026-10-08 (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: C++ 81.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

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.

## Repository size insights

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++ | 2,729 | 1,711,355 | 1,058,606 | 393,277 | 259,472 |
| C Header | 2,911 | 499,325 | 244,268 | 170,445 | 84,612 |
| C++ Header | 4 | 2,338 | 914 | 1,151 | 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 at 2026-10-08T02:06:53.957283448+00:00. Canonical report: https://octocounts.com/github/electronicarts/CnC_Generals_Zero_Hour

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/electronicarts/CnC_Generals_Zero_Hour/commit/0a05454d8574207440a5fb15241b98ad0b435590?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=e12ea934668b2b509dea3b7e582a71a657eae555049f517b1a83c2f40952bbbb).

## Report FAQ

### How many lines of code does electronicarts/CnC_Generals_Zero_Hour have?

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.

### How was the electronicarts/CnC_Generals_Zero_Hour line count measured?

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.

### What commit was counted for electronicarts/CnC_Generals_Zero_Hour?

This OctoCounts report was generated from main at commit 0a05454d8574 on 2026-10-08T02:06:53.957283448+00:00.

## Similar repository reports

- [AyuGram/AyuGramDesktop](https://octocounts.com/github/AyuGram/AyuGramDesktop) — C++, 1,257,900 code lines
- [wxWidgets/wxWidgets](https://octocounts.com/github/wxWidgets/wxWidgets) — C++, 1,225,225 code lines
- [wxwidgets/wxwidgets](https://octocounts.com/github/wxwidgets/wxwidgets) — C++, 1,214,783 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,128,168 code lines
- [telegramdesktop/tdesktop](https://octocounts.com/github/telegramdesktop/tdesktop) — C++, 1,120,606 code lines
- [SerenityOS/serenity](https://octocounts.com/github/SerenityOS/serenity) — C++, 1,115,305 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)
