PCSX2/pcsx2 has 1,533,622 source lines of code out of 2,560,878 total lines across 2,522 files, counted from the master ref at commit 5b6e6e23eba4 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-20 (commit 5b6e6e23eba4), PCSX2/pcsx2 contains 2,560,878 total lines: 1,533,622 code, 877,296 comments, 149,960 blank, across 2,522 files in 29 languages (top: TypeScript 30.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving PCSX2/pcsx2 to commit 5b6e6e23eba4, 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 59.9% of all lines, comments represent 34.3%, and the repository averages 608 code lines per file. TypeScript accounts for 30.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 44 | 1180276 | 467563 | 711567 | 1146 |
| C++ | 601 | 499060 | 390222 | 40914 | 67924 |
| C Header | 990 | 458778 | 327315 | 79564 | 51899 |
| YAML | 3 | 147657 | 147560 | 89 | 8 |
| C | 319 | 165563 | 122063 | 23037 | 20463 |
| Bitbake | 15 | 37070 | 36928 | 14 | 128 |
| C++ Header | 16 | 8941 | 7360 | 617 | 964 |
| SVG | 300 | 6409 | 6370 | 17 | 22 |
| CMake | 53 | 7020 | 5848 | 467 | 705 |
| GLSL | 17 | 6980 | 5146 | 655 | 1179 |
| Objective-C++ | 5 | 4082 | 3509 | 104 | 469 |
| Visual Studio Project | 24 | 3372 | 3369 | 3 | 0 |
Top language (TypeScript 30.5%). Generated at .
PCSX2/pcsx2 has 2,560,878 total lines, including 1,533,622 code lines, 877,296 comment lines, and 149,960 blank lines.
OctoCounts resolved the public GitHub repository to commit 5b6e6e23eba4, 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 5b6e6e23eba4 on 2026-10-20T01:54:07.495472402+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for PCSX2/pcsx2 on this page — 1,533,622 code lines across 12 languages, counted by tokei.