PCSX2/pcsx2 has 1,538,693 source lines of code out of 2,567,621 total lines across 2,528 files, counted with tokei from the master ref at commit 0ab00c49b157 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
PCSX2/pcsx2: 1,538,693 code lines at commit 0ab00c49b157, counted with tokei-15.0.0 on 2026-11-14. Saved result 941cc367dc260be35190a3b2288b147914d1a1c2a2cb055684ee5a6a067c6495.
OctoCounts produced this report by resolving PCSX2/pcsx2 to commit 0ab00c49b157, 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 59.9% 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 | 1180559 | 467705 | 711708 | 1146 |
| C++ | 602 | 503382 | 393763 | 41215 | 68404 |
| C Header | 991 | 459590 | 327869 | 79749 | 51972 |
| YAML | 3 | 148199 | 148102 | 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 | 7056 | 5206 | 662 | 1188 |
| Objective-C++ | 5 | 4082 | 3509 | 104 | 469 |
| Visual Studio Project | 24 | 3375 | 3372 | 3 | 0 |
| HLSL | 9 | 4153 | 3201 | 327 | 625 |
| Metal Shading Language | 8 | 3227 | 2511 | 249 | 467 |
| Python | 9 | 1413 | 1001 | 116 | 296 |
| HTML | 1 | 883 | 854 | 0 | 29 |
| TeX | 1 | 1064 | 844 | 171 | 49 |
| MSBuild | 19 | 769 | 709 | 42 | 18 |
| JSON | 2 | 503 | 503 | 0 | 0 |
| Autoconf | 6 | 404 | 294 | 90 | 20 |
| JavaScript | 1 | 180 | 147 | 15 | 18 |
| Assembly | 2 | 121 | 96 | 14 | 11 |
| CSS | 1 | 97 | 86 | 0 | 11 |
| Shell | 6 | 122 | 82 | 17 | 23 |
| Batch | 3 | 112 | 79 | 14 | 19 |
| Objective-C | 1 | 80 | 62 | 5 | 13 |
| XML | 1 | 14 | 14 | 0 | 0 |
| Markdown | 41 | 8379 | 0 | 6322 | 2057 |
| Plain Text | 24 | 14748 | 0 | 13307 | 1441 |
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,538,693 lines of code, plus 878,363 comment lines and 150,565 blank lines, for 2,567,621 total lines at commit 0ab00c49b157 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0ab00c49b157, 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 0ab00c49b157 on November 14, 2026.
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,538,693 code lines across 29 languages, counted by tokei.