ocaml/ocaml

ocaml/ocaml has 359,622 source lines of code out of 505,116 total lines across 1,554 files, counted with tokei from the trunk ref at commit 99477b6da47d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 99477b6da47d), ocaml/ocaml contains 505,116 total lines: 359,622 code, 93,392 comments, 52,102 blank, across 1,554 files in 20 languages (top language: OCaml 74.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 99477b6da47d), ocaml/ocaml contains 505,116 total lines: 359,622 code, 93,392 comments, 52,102 blank, across 1,554 files in 20 languages (top language: OCaml 74.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ocaml/ocaml to commit 99477b6da47d, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 71.2% of all lines, comments represent 18.5%, and the repository averages 231 code lines per file. OCaml accounts for 74.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
OCaml10953724672676986867636093
C2446548846757107857946
Shell1313231938324681380
M4111109680312093972
Menhir18995179961160795
C Header8011151585235231776
GNU Style Assembly11711150701552489
Makefile1345203069653798
AsciiDoc13309224457640
Autoconf1918611082322457
Python41401959223219
Assembly171251014656

Top language: OCaml 74.4%. Generated on .

Counting rules and retention

ocaml/ocaml: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does ocaml/ocaml have?

ocaml/ocaml has 359,622 lines of code, plus 93,392 comment lines and 52,102 blank lines, for 505,116 total lines at commit 99477b6da47d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the ocaml/ocaml line count measured?

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

What commit was counted for ocaml/ocaml?

This OctoCounts report was generated from trunk at commit 99477b6da47d on November 16, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for ocaml/ocaml on this page — 359,622 code lines across 20 languages, counted by tokei.