# Z3Prover/z3 SLOC report

> Z3Prover/z3: 756,294 code lines at commit f09235056786, counted with tokei-15.0.0 on 2026-11-16. Saved result 3c8ef5bafa475b3ba8ba335fb98840e1d8d49ee5be8ed308f8a87339e6732557.

Z3Prover/z3 has 756,294 source lines of code out of 1,035,529 total lines across 3,316 files, counted with tokei from the master ref at commit f09235056786 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Z3Prover/z3 to commit f09235056786, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

Z3Prover/z3: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.0% of all lines, comments represent 16.4%, and the repository averages 228 code lines per file. C++ accounts for 53.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 916 | 501,870 | 407,873 | 47,142 | 46,855 |
| C Header | 1,127 | 202,317 | 127,197 | 47,860 | 27,260 |
| F* | 343 | 101,433 | 73,655 | 16,795 | 10,983 |
| Python | 123 | 84,920 | 70,199 | 7,411 | 7,310 |
| OCaml | 19 | 17,666 | 13,456 | 2,582 | 1,628 |
| JSON | 138 | 12,668 | 12,668 | 0 | 0 |
| Java | 89 | 21,426 | 11,299 | 7,524 | 2,603 |
| C# | 83 | 21,866 | 11,246 | 7,969 | 2,651 |
| TypeScript | 29 | 15,672 | 10,477 | 2,757 | 2,438 |
| CMake | 105 | 5,523 | 4,331 | 817 | 375 |
| Go | 23 | 5,355 | 3,486 | 1,043 | 826 |
| C | 4 | 3,819 | 2,644 | 683 | 492 |
| HTML | 5 | 2,965 | 2,544 | 0 | 421 |
| Module-Definition | 1 | 1,330 | 1,253 | 0 | 77 |
| C++ Header | 35 | 1,515 | 953 | 422 | 140 |
| TeX | 1 | 675 | 477 | 7 | 191 |
| Jupyter Notebooks | 3 | 705 | 384 | 175 | 146 |
| D | 1 | 439 | 365 | 38 | 36 |
| Autoconf | 15 | 401 | 321 | 33 | 47 |
| JavaScript | 3 | 313 | 291 | 12 | 10 |
| PowerShell | 1 | 384 | 280 | 95 | 9 |
| Shell | 6 | 335 | 278 | 27 | 30 |
| YAML | 10 | 176 | 162 | 6 | 8 |
| Visual Studio Project | 1 | 137 | 137 | 0 | 0 |
| Batch | 2 | 103 | 84 | 0 | 19 |
| Bazel | 2 | 104 | 79 | 11 | 14 |
| MSBuild | 3 | 47 | 34 | 4 | 9 |
| XML | 1 | 34 | 34 | 0 | 0 |
| CodeQL | 1 | 87 | 32 | 15 | 40 |
| Dockerfile | 1 | 43 | 22 | 17 | 4 |
| TOML | 2 | 36 | 17 | 15 | 4 |
| Lean | 2 | 16 | 11 | 0 | 5 |
| Makefile | 1 | 7 | 5 | 0 | 2 |
| Markdown | 204 | 30,253 | 0 | 25,324 | 4,929 |
| Plain Text | 16 | 889 | 0 | 728 | 161 |

Top language: C++ 53.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/Z3Prover/z3/commit/f092350567865efcd9f57bb46063d360db369392?reportId=3c8ef5bafa475b3ba8ba335fb98840e1d8d49ee5be8ed308f8a87339e6732557&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/Z3Prover/z3/commit/f092350567865efcd9f57bb46063d360db369392?reportId=3c8ef5bafa475b3ba8ba335fb98840e1d8d49ee5be8ed308f8a87339e6732557&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 Z3Prover/z3 have?

Z3Prover/z3 has 756,294 lines of code, plus 169,512 comment lines and 109,723 blank lines, for 1,035,529 total lines at commit f09235056786 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Z3Prover/z3 line count measured?

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

### What commit was counted for Z3Prover/z3?

This OctoCounts report was generated from master at commit f09235056786 on November 16, 2026.

## 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)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
