tesseract-ocr/tesseract

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.

As of 2026-11-15 (commit ddcd04239a19), tesseract-ocr/tesseract contains 230,463 total lines: 164,483 code, 48,195 comments, 17,785 blank, across 659 files in 13 languages (top language: C++ 69.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-15 (commit ddcd04239a19), tesseract-ocr/tesseract contains 230,463 total lines: 164,483 code, 48,195 comments, 17,785 blank, across 659 files in 13 languages (top language: C++ 69.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

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.

LanguageFilesLinesCodeCommentsBlanks
C++3531536731143162856210795
C Header2516877444901178815992
CMake1025581982326250
Automake111884155257275
Java1320761144720212
C236120511937
Shell32971579545
YAML29879514
Autoconf4111663015
Python291541918
M429127604
Markdown54470319128

Top language: C++ 69.5%. Generated on .

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.

Reproduce this report

Reproduce this exact report and configuration.

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

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

Play the growth animation for tesseract-ocr/tesseract on this page — 164,483 code lines across 13 languages, counted by tokei.