# pytest-dev/pytest SLOC report

> pytest-dev/pytest: 99,522 code lines at commit c9bf1edf9e0d, counted with tokei-14.0.0 on 2026-10-22. Saved result 2411eda8a09ccbef276985878d01a1522b37144f3cfaa8f72c32ea0afeb25050.

pytest-dev/pytest has 99,522 source lines of code out of 118,093 total lines across 344 files, counted from the main ref at commit c9bf1edf9e0d by the OctoCounts tokei engine on 2026-10-22. 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 c9bf1edf9e0d, 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 289 code lines per file. Python accounts for 98.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 225 | 115,524 | 97,693 | 4,084 | 13,747 |
| ReStructuredText | 107 | 1,506 | 1,048 | 0 | 458 |
| 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-22T05:44:23.448284781Z. Canonical report: https://octocounts.com/github/pytest-dev/pytest/commit/c9bf1edf9e0d388f3e7bebc88576e608ffbc40a4?reportId=2411eda8a09ccbef276985878d01a1522b37144f3cfaa8f72c32ea0afeb25050&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/c9bf1edf9e0d388f3e7bebc88576e608ffbc40a4?reportId=2411eda8a09ccbef276985878d01a1522b37144f3cfaa8f72c32ea0afeb25050&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,093 total lines, including 99,522 code lines, 4,289 comment lines, and 14,282 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c9bf1edf9e0d, 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 c9bf1edf9e0d on 2026-10-22T05:44:23.448284781Z.

## 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,414 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
- [psf/black](https://octocounts.com/github/psf/black) — Python, 102,059 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)
