# pytest-dev/pytest-mock SLOC report

> pytest-dev/pytest-mock: 1,391 code lines at commit 0286fc5a62d0, counted with tokei-14.0.0 on 2026-10-21. Saved result 18b0b8943bb31a19ab4bf677e904e5b7bdb647e227f6a882ece4d49e80b83487.

pytest-dev/pytest-mock has 1,391 source lines of code out of 1,857 total lines across 11 files, counted from the main ref at commit 0286fc5a62d0 by the OctoCounts tokei engine on 2026-10-21. 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-mock to commit 0286fc5a62d0, 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 small codebase by counted code lines. Code represents 74.9% of all lines, comments represent 2.2%, and the repository averages 126 code lines per file. Python accounts for 53.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 4 | 895 | 740 | 32 | 123 |
| ReStructuredText | 3 | 841 | 554 | 0 | 287 |
| TOML | 1 | 67 | 59 | 0 | 8 |
| INI | 2 | 46 | 38 | 3 | 5 |
| Markdown | 1 | 8 | 0 | 5 | 3 |

Top language (Python 53.2%). Generated at 2026-10-21T03:42:54.486137743Z. Canonical report: https://octocounts.com/github/pytest-dev/pytest-mock/commit/0286fc5a62d05340093ea5c32eaa1de02130f8d2?reportId=18b0b8943bb31a19ab4bf677e904e5b7bdb647e227f6a882ece4d49e80b83487&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-mock/commit/0286fc5a62d05340093ea5c32eaa1de02130f8d2?reportId=18b0b8943bb31a19ab4bf677e904e5b7bdb647e227f6a882ece4d49e80b83487&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-mock have?

pytest-dev/pytest-mock has 1,857 total lines, including 1,391 code lines, 40 comment lines, and 426 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 0286fc5a62d0, 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-mock?

This OctoCounts report was generated from main at commit 0286fc5a62d0 on 2026-10-21T03:42:54.486137743Z.

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