As of 2026-08-22 (commit 9b666cdeff8b), pytest-dev/pytest-mock contains 1,741 total lines: 1,319 code, 17 comments, 405 blank, across 11 files in 5 languages (top: Python 53.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pytest-dev/pytest-mock to commit 9b666cdeff8b, 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.
This is a small codebase by counted code lines. Code represents 75.8% of all lines, comments represent 1.0%, and the repository averages 120 code lines per file. Python accounts for 53.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 4 | 837 | 708 | 9 | 120 |
| ReStructuredText | 3 | 783 | 514 | 0 | 269 |
| TOML | 1 | 67 | 59 | 0 | 8 |
| INI | 2 | 46 | 38 | 3 | 5 |
| Markdown | 1 | 8 | 0 | 5 | 3 |
Top language (Python 53.7%). Generated at 2026-08-22T17:11:09.751092549+00:00.
pytest-dev/pytest-mock has 1,741 total lines, including 1,319 code lines, 17 comment lines, and 405 blank lines.
OctoCounts resolved the public GitHub repository to commit 9b666cdeff8b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 9b666cdeff8b on 2026-08-22T17:11:09.751092549+00:00.