# pytest-dev/pytest SLOC report

> pytest-dev/pytest: 99,481 code lines at commit c9c19f8e62c1, counted with tokei-14.0.0 on 2026-10-13. Saved result 97834d53f98431e8b2aef42833dbd80ab36b63c2afda3e8ebc0611de4eff94e5.

pytest-dev/pytest has 99,481 source lines of code out of 118,046 total lines across 342 files, counted from the main ref at commit c9c19f8e62c1 by the OctoCounts tokei engine on 2026-10-13. 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 pytest-dev/pytest to commit c9c19f8e62c1, 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 medium-sized codebase by counted code lines. Code represents 84.3% of all lines, comments represent 3.6%, and the repository averages 291 code lines per file. Python accounts for 98.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 225 | 115,484 | 97,658 | 4,081 | 13,745 |
| ReStructuredText | 105 | 1,499 | 1,042 | 0 | 457 |
| TOML | 1 | 670 | 558 | 85 | 27 |
| INI | 5 | 265 | 206 | 36 | 23 |
| YAML | 1 | 13 | 10 | 1 | 2 |
| Gherkin (Cucumber) | 1 | 9 | 6 | 0 | 3 |
| Autoconf | 1 | 5 | 1 | 4 | 0 |
| Markdown | 2 | 86 | 0 | 64 | 22 |
| Plain Text | 1 | 15 | 0 | 15 | 0 |

Top language (Python 98.2%). Generated at 2026-10-13T09:41:36.191655041Z. Canonical report: https://octocounts.com/github/pytest-dev/pytest/commit/c9c19f8e62c12834ad83193a1869cc82fe9c700e?reportId=97834d53f98431e8b2aef42833dbd80ab36b63c2afda3e8ebc0611de4eff94e5&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/pytest-dev/pytest/commit/c9c19f8e62c12834ad83193a1869cc82fe9c700e?reportId=97834d53f98431e8b2aef42833dbd80ab36b63c2afda3e8ebc0611de4eff94e5&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 pytest-dev/pytest have?

pytest-dev/pytest has 118,046 total lines, including 99,481 code lines, 4,286 comment lines, and 14,279 blank lines.

### How was the pytest-dev/pytest line count measured?

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

### What commit was counted for pytest-dev/pytest?

This OctoCounts report was generated from main at commit c9c19f8e62c1 on 2026-10-13T09:41:36.191655041Z.

## Similar repository reports

- [zabwie/vanta](https://octocounts.com/github/zabwie/vanta) — Python, 100,011 code lines
- [3more102/CleanroomX-Cleanroom-Design-Simulation-Verification-Platform](https://octocounts.com/github/3more102/CleanroomX-Cleanroom-Design-Simulation-Verification-Platform) — Python, 100,539 code lines
- [hotosm/drone-tm](https://octocounts.com/github/hotosm/drone-tm) — Python, 97,413 code lines
- [facebookresearch/diplomacy_cicero](https://octocounts.com/github/facebookresearch/diplomacy_cicero) — Python, 97,242 code lines
- [git-cola/git-cola](https://octocounts.com/github/git-cola/git-cola) — Python, 97,136 code lines
- [Alishahryar1/free-claude-code](https://octocounts.com/github/Alishahryar1/free-claude-code) — Python, 102,108 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
