# tesseract-ocr/tesseract SLOC report

> tesseract-ocr/tesseract: 164,483 code lines at commit ddcd04239a19, counted with tokei-15.0.0 on 2026-11-15. Saved result 4a0eea03a9ab949b71fde3aff53e4a8207110768df078e32ad23b90670d6b9fd.

tesseract-ocr/tesseract has 164,483 source lines of code out of 230,463 total lines across 659 files, counted with tokei from the main ref at commit ddcd04239a19 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving tesseract-ocr/tesseract to commit ddcd04239a19, 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

tesseract-ocr/tesseract: 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 71.4% of all lines, comments represent 20.9%, and the repository averages 250 code lines per file. C++ accounts for 69.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 353 | 153,673 | 114,316 | 28,562 | 10,795 |
| C Header | 251 | 68,774 | 44,901 | 17,881 | 5,992 |
| CMake | 10 | 2,558 | 1,982 | 326 | 250 |
| Automake | 11 | 1,884 | 1,552 | 57 | 275 |
| Java | 13 | 2,076 | 1,144 | 720 | 212 |
| C | 2 | 361 | 205 | 119 | 37 |
| Shell | 3 | 297 | 157 | 95 | 45 |
| YAML | 2 | 98 | 79 | 5 | 14 |
| Autoconf | 4 | 111 | 66 | 30 | 15 |
| Python | 2 | 91 | 54 | 19 | 18 |
| M4 | 2 | 91 | 27 | 60 | 4 |
| Markdown | 5 | 447 | 0 | 319 | 128 |
| Plain Text | 1 | 2 | 0 | 2 | 0 |

Top language: C++ 69.5%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/tesseract-ocr/tesseract/commit/ddcd04239a19d3992ecc443dfa0aa025843a6614?reportId=4a0eea03a9ab949b71fde3aff53e4a8207110768df078e32ad23b90670d6b9fd&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/tesseract-ocr/tesseract/commit/ddcd04239a19d3992ecc443dfa0aa025843a6614?reportId=4a0eea03a9ab949b71fde3aff53e4a8207110768df078e32ad23b90670d6b9fd&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 tesseract-ocr/tesseract have?

tesseract-ocr/tesseract has 164,483 lines of code, plus 48,195 comment lines and 17,785 blank lines, for 230,463 total lines at commit ddcd04239a19 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the tesseract-ocr/tesseract line count measured?

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

### What commit was counted for tesseract-ocr/tesseract?

This OctoCounts report was generated from main at commit ddcd04239a19 on November 15, 2026.

## Similar repository reports

- [SpeedBreakerProject/speedbreaker](https://octocounts.com/github/SpeedBreakerProject/speedbreaker) — C++, 163,259 code lines
- [thepowersgang/mrustc](https://octocounts.com/github/thepowersgang/mrustc) — C++, 163,174 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 161,444 code lines
- [cfoust/sour](https://octocounts.com/github/cfoust/sour) — C++, 160,558 code lines
- [carbon-language/carbon-lang](https://octocounts.com/github/carbon-language/carbon-lang) — C++, 169,095 code lines
- [moveit/moveit2](https://octocounts.com/github/moveit/moveit2) — C++, 158,114 code lines

## 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)
