cocos2d/cocos2d-x-samples

cocos2d/cocos2d-x-samples has 519,022 source lines of code out of 907,001 total lines across 3,464 files, counted with tokei from the v3 ref at commit 9f1472d9083a on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-11 (commit 9f1472d9083a), cocos2d/cocos2d-x-samples contains 907,001 total lines: 519,022 code, 273,386 comments, 114,593 blank, across 3,464 files in 31 languages (top language: C Header 38.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-11 (commit 9f1472d9083a), cocos2d/cocos2d-x-samples contains 907,001 total lines: 519,022 code, 273,386 comments, 114,593 blank, across 3,464 files in 31 languages (top language: C Header 38.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving cocos2d/cocos2d-x-samples to commit 9f1472d9083a, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 57.2% of all lines, comments represent 30.1%, and the repository averages 150 code lines per file. C Header accounts for 38.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header167049413519801323121864904
C++6342415511889872121731347
C39294762643613441696
Lua150277902080435003486
XML367254781975431242600
Objective-C41185081387419692665
Visual Studio Project531293912927120
Java92158861037133532162
Objective-C++6012252825219252075
C#2742862928819539
JavaScript25342820671079282
Visual Studio Solution1719411931010

Top language: C Header 38.2%. Generated on .

Counting rules and retention

cocos2d/cocos2d-x-samples: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does cocos2d/cocos2d-x-samples have?

cocos2d/cocos2d-x-samples has 519,022 lines of code, plus 273,386 comment lines and 114,593 blank lines, for 907,001 total lines at commit 9f1472d9083a on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the cocos2d/cocos2d-x-samples line count measured?

OctoCounts resolved the public GitHub repository to commit 9f1472d9083a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for cocos2d/cocos2d-x-samples?

This OctoCounts report was generated from v3 at commit 9f1472d9083a on November 11, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for cocos2d/cocos2d-x-samples on this page — 519,022 code lines across 31 languages, counted by tokei.