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.
As of 2026-11-16 (commit f09235056786), Z3Prover/z3 contains 1,035,529 total lines: 756,294 code, 169,512 comments, 109,723 blank, across 3,316 files in 35 languages (top language: C++ 53.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 501870 | 407873 | 47142 | 46855 |
| C Header | 1127 | 202317 | 127197 | 47860 | 27260 |
| F* | 343 | 101433 | 73655 | 16795 | 10983 |
| Python | 123 | 84920 | 70199 | 7411 | 7310 |
| OCaml | 19 | 17666 | 13456 | 2582 | 1628 |
| JSON | 138 | 12668 | 12668 | 0 | 0 |
| Java | 89 | 21426 | 11299 | 7524 | 2603 |
| C# | 83 | 21866 | 11246 | 7969 | 2651 |
| TypeScript | 29 | 15672 | 10477 | 2757 | 2438 |
| CMake | 105 | 5523 | 4331 | 817 | 375 |
| Go | 23 | 5355 | 3486 | 1043 | 826 |
| C | 4 | 3819 | 2644 | 683 | 492 |
Top language: C++ 53.9%. Generated on .
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.
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.
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.
This OctoCounts report was generated from master at commit f09235056786 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Z3Prover/z3 on this page — 756,294 code lines across 35 languages, counted by tokei.