# microsoft/playwright SLOC report

> microsoft/playwright: 225,380 code lines at commit b4d016aadc5c, counted with tokei-15.0.0 on 2026-11-14. Saved result 51099a6a80708bc599c8cc297eda124d5c064573996176d523f8e950d3dda6c8.

microsoft/playwright has 225,380 source lines of code out of 372,483 total lines across 1,168 files, counted with tokei from the main ref at commit b4d016aadc5c on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/playwright to commit b4d016aadc5c, 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 193 code lines per file. TypeScript accounts for 73.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 660 | 294,987 | 164,723 | 108,852 | 21,412 |
| JSON | 35 | 14,410 | 14,410 | 0 | 0 |
| JavaScript | 97 | 18,744 | 14,066 | 2,886 | 1,792 |
| TSX | 106 | 14,347 | 11,347 | 1,770 | 1,230 |
| CSS | 78 | 11,942 | 9,742 | 1,188 | 1,012 |
| YAML | 20 | 5,350 | 4,529 | 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 | 12 | 316 | 193 | 120 | 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# | 2 | 83 | 53 | 23 | 7 |
| C | 1 | 82 | 45 | 29 | 8 |
| 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,739 | 0 | 2,586 | 1,153 |
| Plain Text | 4 | 49 | 0 | 37 | 12 |

Top language: TypeScript 73.1%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/microsoft/playwright/commit/b4d016aadc5cbd2b898a284307975fe73e05483d?reportId=51099a6a80708bc599c8cc297eda124d5c064573996176d523f8e950d3dda6c8&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/b4d016aadc5cbd2b898a284307975fe73e05483d?reportId=51099a6a80708bc599c8cc297eda124d5c064573996176d523f8e950d3dda6c8&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,380 lines of code, plus 118,751 comment lines and 28,352 blank lines, for 372,483 total lines at commit b4d016aadc5c on November 14, 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 b4d016aadc5c, 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 b4d016aadc5c on November 14, 2026.

## 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)
- [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)
