# microsoft/playwright SLOC report

> microsoft/playwright: 225,026 code lines at commit 9c9a59097b29, counted with tokei-15.0.0 on 2026-11-24. Saved result a092d6b72a80c8cd9e23964f9fef495d52062a1c44e4f8d449214b8de15c5a74.

Source: [microsoft/playwright on GitHub](https://github.com/microsoft/playwright) · counted commit [9c9a59097b29](https://github.com/microsoft/playwright/tree/9c9a59097b29cd2a85c3decfedbb2dd12016502e)

microsoft/playwright has 225,026 source lines of code out of 372,178 total lines across 1,171 files, counted with tokei from the main ref at commit 9c9a59097b29 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/playwright to commit 9c9a59097b29, 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

microsoft/playwright: 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 large codebase by counted code lines. Code represents 60.5% of all lines, comments represent 31.9%, and the repository averages 192 code lines per file. TypeScript accounts for 73.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 664 | 295,763 | 165,126 | 109,187 | 21,450 |
| JSON | 35 | 14,403 | 14,403 | 0 | 0 |
| JavaScript | 94 | 17,415 | 13,150 | 2,620 | 1,645 |
| TSX | 108 | 14,572 | 11,508 | 1,815 | 1,249 |
| CSS | 78 | 11,948 | 9,747 | 1,188 | 1,013 |
| YAML | 20 | 5,351 | 4,530 | 284 | 537 |
| C++ | 9 | 2,213 | 1,686 | 210 | 317 |
| Objective-C | 4 | 1,619 | 1,231 | 122 | 266 |
| Shell | 33 | 1,483 | 998 | 271 | 214 |
| C Header | 15 | 919 | 550 | 254 | 115 |
| Java | 2 | 540 | 467 | 23 | 50 |
| Forge Config | 1 | 482 | 368 | 0 | 114 |
| XML | 6 | 303 | 297 | 0 | 6 |
| HTML | 13 | 344 | 206 | 135 | 3 |
| Visual Studio Project | 1 | 152 | 152 | 0 | 0 |
| PowerShell | 7 | 156 | 130 | 2 | 24 |
| Xcode Config | 4 | 207 | 95 | 88 | 24 |
| Batch | 2 | 96 | 74 | 0 | 22 |
| CMake | 2 | 80 | 66 | 1 | 13 |
| SVG | 15 | 62 | 58 | 4 | 0 |
| C | 1 | 82 | 45 | 29 | 8 |
| C# | 1 | 43 | 39 | 0 | 4 |
| Visual Studio Solution | 1 | 31 | 30 | 0 | 1 |
| Python | 1 | 34 | 29 | 0 | 5 |
| Prolog | 1 | 21 | 18 | 0 | 3 |
| MSBuild | 1 | 15 | 12 | 0 | 3 |
| Makefile | 1 | 21 | 11 | 1 | 9 |
| Markdown | 47 | 3,774 | 0 | 2,610 | 1,164 |
| Plain Text | 4 | 49 | 0 | 37 | 12 |

Top language: TypeScript 73.4%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/microsoft/playwright/commit/9c9a59097b29cd2a85c3decfedbb2dd12016502e?reportId=a092d6b72a80c8cd9e23964f9fef495d52062a1c44e4f8d449214b8de15c5a74&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/microsoft/playwright/commit/9c9a59097b29cd2a85c3decfedbb2dd12016502e?reportId=a092d6b72a80c8cd9e23964f9fef495d52062a1c44e4f8d449214b8de15c5a74&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 microsoft/playwright have?

microsoft/playwright has 225,026 lines of code, plus 118,881 comment lines and 28,271 blank lines, for 372,178 total lines at commit 9c9a59097b29 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the microsoft/playwright line count measured?

OctoCounts resolved the public GitHub repository to commit 9c9a59097b29, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for microsoft/playwright?

This OctoCounts report was generated from main at commit 9c9a59097b29 on November 24, 2026.

## Similar repository reports

- [KongFangXun/sofagent](https://octocounts.com/github/KongFangXun/sofagent) — TypeScript, 224,907 code lines
- [mcdottok/vscode-dsh](https://octocounts.com/github/mcdottok/vscode-dsh) — TypeScript, 224,761 code lines
- [shaongitbd/doory](https://octocounts.com/github/shaongitbd/doory) — TypeScript, 224,105 code lines
- [cloudflare/vinext](https://octocounts.com/github/cloudflare/vinext) — TypeScript, 223,582 code lines
- [kaitranntt/ccs](https://octocounts.com/github/kaitranntt/ccs) — TypeScript, 226,710 code lines
- [markrahq/markra](https://octocounts.com/github/markrahq/markra) — TypeScript, 222,788 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)
- [Cypress vs Playwright](https://octocounts.com/compare/cypress-vs-playwright)
- [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)
