# PCSX2/pcsx2 SLOC report

> PCSX2/pcsx2: 1,538,693 code lines at commit 0ab00c49b157, counted with tokei-15.0.0 on 2026-11-14. Saved result 941cc367dc260be35190a3b2288b147914d1a1c2a2cb055684ee5a6a067c6495.

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.

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.

## 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 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 | 1,180,559 | 467,705 | 711,708 | 1,146 |
| C++ | 602 | 503,382 | 393,763 | 41,215 | 68,404 |
| C Header | 991 | 459,590 | 327,869 | 79,749 | 51,972 |
| YAML | 3 | 148,199 | 148,102 | 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,056 | 5,206 | 662 | 1,188 |
| 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,379 | 0 | 6,322 | 2,057 |
| Plain Text | 24 | 14,748 | 0 | 13,307 | 1,441 |

Top language: TypeScript 30.4%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/PCSX2/pcsx2/commit/0ab00c49b157be667a8a2f0bf4cda83f75a9198e?reportId=941cc367dc260be35190a3b2288b147914d1a1c2a2cb055684ee5a6a067c6495&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/0ab00c49b157be667a8a2f0bf4cda83f75a9198e?reportId=941cc367dc260be35190a3b2288b147914d1a1c2a2cb055684ee5a6a067c6495&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,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.

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

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.

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

This OctoCounts report was generated from master at commit 0ab00c49b157 on November 14, 2026.

## Similar repository reports

- [code-yeongyu/oh-my-openagent](https://octocounts.com/github/code-yeongyu/oh-my-openagent) — TypeScript, 1,543,903 code lines
- [0xOsprey/oh-my-pi](https://octocounts.com/github/0xOsprey/oh-my-pi) — TypeScript, 1,526,827 code lines
- [morluto/rea](https://octocounts.com/github/morluto/rea) — TypeScript, 1,523,390 code lines
- [nexu-io/open-design](https://octocounts.com/github/nexu-io/open-design) — TypeScript, 1,620,627 code lines
- [anysearch-team/oh-my-pi](https://octocounts.com/github/anysearch-team/oh-my-pi) — TypeScript, 1,449,413 code lines
- [davidondrej/cloudroom](https://octocounts.com/github/davidondrej/cloudroom) — TypeScript, 1,448,530 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)
- [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)
