PCSX2/pcsx2 has 1,539,796 source lines of code out of 2,568,421 total lines across 2,528 files, counted with tokei from the master ref at commit 695e26713be0 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-07 (commit 695e26713be0), PCSX2/pcsx2 contains 2,568,421 total lines: 1,539,796 code, 878,154 comments, 150,471 blank, across 2,528 files in 29 languages (top language: TypeScript 30.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving PCSX2/pcsx2 to commit 695e26713be0, 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 60.0% of all lines, comments represent 34.2%, and the repository averages 609 code lines per file. TypeScript accounts for 30.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 44 | 1180358 | 467563 | 711649 | 1146 |
| C++ | 602 | 504928 | 395380 | 41205 | 68343 |
| C Header | 991 | 459217 | 327637 | 79633 | 51947 |
| YAML | 3 | 148069 | 147972 | 89 | 8 |
| C | 319 | 165565 | 122064 | 23038 | 20463 |
| Bitbake | 15 | 37070 | 36928 | 14 | 128 |
| C++ Header | 16 | 8941 | 7360 | 617 | 964 |
| SVG | 304 | 6510 | 6481 | 8 | 21 |
| CMake | 53 | 7023 | 5851 | 467 | 705 |
| GLSL | 17 | 7042 | 5196 | 659 | 1187 |
| Objective-C++ | 5 | 4082 | 3509 | 104 | 469 |
| Visual Studio Project | 24 | 3375 | 3372 | 3 | 0 |
Top language: TypeScript 30.4%. Generated on .
PCSX2/pcsx2: 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.
PCSX2/pcsx2 has 1,539,796 lines of code, plus 878,154 comment lines and 150,471 blank lines, for 2,568,421 total lines at commit 695e26713be0 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 695e26713be0, 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 master at commit 695e26713be0 on November 7, 2026.
Play the growth animation for PCSX2/pcsx2 on this page — 1,539,796 code lines across 29 languages, counted by tokei.