# PCSX2/pcsx2 SLOC report

> PCSX2/pcsx2: 1,539,796 code lines at commit 695e26713be0, counted with tokei-15.0.0 on 2026-11-07. Saved result 6dc0a7f4b5eb17eadfaf6f44d96c3e16edde640c005731391e49696d9ddfd870.

Source: [PCSX2/pcsx2 on GitHub](https://github.com/PCSX2/pcsx2) · counted commit [695e26713be0](https://github.com/PCSX2/pcsx2/tree/695e26713be06daf8b9d05978602946b82008716)

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 1,180,358 | 467,563 | 711,649 | 1,146 |
| C++ | 602 | 504,928 | 395,380 | 41,205 | 68,343 |
| C Header | 991 | 459,217 | 327,637 | 79,633 | 51,947 |
| YAML | 3 | 148,069 | 147,972 | 89 | 8 |
| C | 319 | 165,565 | 122,064 | 23,038 | 20,463 |
| Bitbake | 15 | 37,070 | 36,928 | 14 | 128 |
| C++ Header | 16 | 8,941 | 7,360 | 617 | 964 |
| SVG | 304 | 6,510 | 6,481 | 8 | 21 |
| CMake | 53 | 7,023 | 5,851 | 467 | 705 |
| GLSL | 17 | 7,042 | 5,196 | 659 | 1,187 |
| Objective-C++ | 5 | 4,082 | 3,509 | 104 | 469 |
| Visual Studio Project | 24 | 3,375 | 3,372 | 3 | 0 |
| HLSL | 9 | 4,153 | 3,201 | 327 | 625 |
| Metal Shading Language | 8 | 3,227 | 2,511 | 249 | 467 |
| Python | 9 | 1,413 | 1,001 | 116 | 296 |
| HTML | 1 | 883 | 854 | 0 | 29 |
| TeX | 1 | 1,064 | 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 | 8,352 | 0 | 6,302 | 2,050 |
| Plain Text | 24 | 14,747 | 0 | 13,306 | 1,441 |

Top language: TypeScript 30.4%. Generated on November 7, 2026. Canonical report: https://octocounts.com/github/PCSX2/pcsx2/commit/695e26713be06daf8b9d05978602946b82008716?reportId=6dc0a7f4b5eb17eadfaf6f44d96c3e16edde640c005731391e49696d9ddfd870&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/PCSX2/pcsx2/commit/695e26713be06daf8b9d05978602946b82008716?reportId=6dc0a7f4b5eb17eadfaf6f44d96c3e16edde640c005731391e49696d9ddfd870&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does PCSX2/pcsx2 have?

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.

### How was the PCSX2/pcsx2 line count measured?

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.

### What commit was counted for PCSX2/pcsx2?

This OctoCounts report was generated from master at commit 695e26713be0 on November 7, 2026.

## Similar repository reports

- [0xOsprey/oh-my-pi](https://octocounts.com/github/0xOsprey/oh-my-pi) — TypeScript, 1,526,827 code lines
- [davidondrej/cloudroom](https://octocounts.com/github/davidondrej/cloudroom) — TypeScript, 1,487,540 code lines
- [milind-soni/OpenMausBot](https://octocounts.com/github/milind-soni/OpenMausBot) — TypeScript, 1,481,648 code lines
- [ARYAN007H/rea](https://octocounts.com/github/ARYAN007H/rea) — TypeScript, 1,602,274 code lines
- [code-yeongyu/oh-my-openagent](https://octocounts.com/github/code-yeongyu/oh-my-openagent) — TypeScript, 1,602,338 code lines
- [nexu-io/open-design](https://octocounts.com/github/nexu-io/open-design) — TypeScript, 1,621,087 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
