pytest-dev/pytest-mock SLOC report

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python48377089120
ReStructuredText37835140269
TOML1675908
INI2463835
Markdown18053

Top language (Python 53.7%). Generated at 2026-08-22T17:11:09.751092549+00:00.

Report FAQ

How many lines of code does pytest-dev/pytest-mock have?

pytest-dev/pytest-mock has 1,741 total lines, including 1,319 code lines, 17 comment lines, and 405 blank lines.

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

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.

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

This OctoCounts report was generated from main at commit 9b666cdeff8b on 2026-08-22T17:11:09.751092549+00:00.