# PCSX2/pcsx2 SLOC report

> 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.

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.

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.

## Repository size insights

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 | 1,180,276 | 467,563 | 711,567 | 1,146 |
| C++ | 601 | 499,060 | 390,222 | 40,914 | 67,924 |
| C Header | 990 | 458,778 | 327,315 | 79,564 | 51,899 |
| YAML | 3 | 147,657 | 147,560 | 89 | 8 |
| C | 319 | 165,563 | 122,063 | 23,037 | 20,463 |
| Bitbake | 15 | 37,070 | 36,928 | 14 | 128 |
| C++ Header | 16 | 8,941 | 7,360 | 617 | 964 |
| SVG | 300 | 6,409 | 6,370 | 17 | 22 |
| CMake | 53 | 7,020 | 5,848 | 467 | 705 |
| GLSL | 17 | 6,980 | 5,146 | 655 | 1,179 |
| Objective-C++ | 5 | 4,082 | 3,509 | 104 | 469 |
| Visual Studio Project | 24 | 3,372 | 3,369 | 3 | 0 |

Top language (TypeScript 30.5%). Generated at 2026-10-20T01:54:07.495472402+00:00. Canonical report: https://octocounts.com/github/PCSX2/pcsx2

## Reproduce this report

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

## Report FAQ

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

PCSX2/pcsx2 has 2,560,878 total lines, including 1,533,622 code lines, 877,296 comment lines, and 149,960 blank lines.

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

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.

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

This OctoCounts report was generated from master at commit 5b6e6e23eba4 on 2026-10-20T01:54:07.495472402+00:00.

## Similar repository reports

- [can1357/oh-my-pi](https://octocounts.com/github/can1357/oh-my-pi) — TypeScript, 1,536,051 code lines
- [nexu-io/open-design](https://octocounts.com/github/nexu-io/open-design) — TypeScript, 1,579,678 code lines
- [pingdotgg/t3code](https://octocounts.com/github/pingdotgg/t3code) — TypeScript, 1,467,813 code lines
- [qbittorrent/qBittorrent](https://octocounts.com/github/qbittorrent/qBittorrent) — TypeScript, 1,393,245 code lines
- [qbittorrent/qbittorrent](https://octocounts.com/github/qbittorrent/qbittorrent) — TypeScript, 1,392,982 code lines
- [feiyang-cai/texstudio-vim](https://octocounts.com/github/feiyang-cai/texstudio-vim) — TypeScript, 1,383,036 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)
- [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)
