# oxcaml/oxcaml SLOC report

> As of 2026-11-24 (commit 0866abff8d48), oxcaml/oxcaml contains 2,162,648 total lines: 1,692,996 code, 271,974 comments, 197,678 blank, across 10,645 files in 36 languages (top language: OCaml 74.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [oxcaml/oxcaml on GitHub](https://github.com/oxcaml/oxcaml) · counted commit [0866abff8d48](https://github.com/oxcaml/oxcaml/tree/0866abff8d4814ecdafd440d0f94468a7774a25a)

oxcaml/oxcaml has 1,692,996 source lines of code out of 2,162,648 total lines across 10,645 files, counted with tokei from the main ref at commit 0866abff8d48 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving oxcaml/oxcaml to commit 0866abff8d48, 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

oxcaml/oxcaml: 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 very large codebase by counted code lines. Code represents 78.3% of all lines, comments represent 12.6%, and the repository averages 159 code lines per file. OCaml accounts for 74.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| OCaml | 4,323 | 1,636,152 | 1,254,015 | 215,077 | 167,060 |
| XML | 1 | 158,643 | 158,567 | 3 | 73 |
| JavaScript | 5,440 | 110,442 | 102,454 | 5,908 | 2,080 |
| C | 274 | 98,898 | 66,931 | 20,290 | 11,677 |
| WebAssembly | 51 | 31,180 | 27,704 | 1,909 | 1,567 |
| Menhir | 44 | 31,109 | 24,686 | 3,841 | 2,582 |
| Shell | 73 | 20,648 | 14,590 | 3,826 | 2,232 |
| M4 | 12 | 11,388 | 8,213 | 2,181 | 994 |
| C Header | 86 | 12,392 | 6,445 | 4,009 | 1,938 |
| Python | 19 | 7,296 | 5,428 | 818 | 1,050 |
| SVG | 10 | 3,736 | 3,448 | 9 | 279 |
| GNU Style Assembly | 15 | 4,794 | 3,408 | 1,052 | 334 |

Top language: OCaml 74.1%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/oxcaml/oxcaml

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/oxcaml/oxcaml/commit/0866abff8d4814ecdafd440d0f94468a7774a25a?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=c5f2725fb3cf2abee1dc24fa3402d4a7c9142fadb9da98290d64c05821727986).

## Report FAQ

### How many lines of code does oxcaml/oxcaml have?

oxcaml/oxcaml has 1,692,996 lines of code, plus 271,974 comment lines and 197,678 blank lines, for 2,162,648 total lines at commit 0866abff8d48 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the oxcaml/oxcaml line count measured?

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

### What commit was counted for oxcaml/oxcaml?

This OctoCounts report was generated from main at commit 0866abff8d48 on November 24, 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
