tesseract-ocr/tesseract

tesseract-ocr/tesseract has 163,731 source lines of code out of 229,230 total lines across 657 files, counted with tokei from the main ref at commit c21194d06998 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-02 (commit c21194d06998), tesseract-ocr/tesseract contains 229,230 total lines: 163,731 code, 47,791 comments, 17,708 blank, across 657 files in 13 languages (top language: C++ 69.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-02 (commit c21194d06998), tesseract-ocr/tesseract contains 229,230 total lines: 163,731 code, 47,791 comments, 17,708 blank, across 657 files in 13 languages (top language: C++ 69.4%). 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 c21194d06998, 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.8%, and the repository averages 249 code lines per file. C++ accounts for 69.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++3511525981136122825610730
C Header2516865344861178075985
CMake1025581982326250
Automake111874154457273
Java1320761144720212
C236120511937
Shell32971579545
YAML29879514
Autoconf4111663015
Python291541918
M429127604
Markdown54200295125

Top language: C++ 69.4%. 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 163,731 lines of code, plus 47,791 comment lines and 17,708 blank lines, for 229,230 total lines at commit c21194d06998 on November 2, 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 c21194d06998, 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 c21194d06998 on November 2, 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 — 163,731 code lines across 13 languages, counted by tokei.