apache/tika has 219,977 source lines of code out of 341,374 total lines across 1,859 files, counted with tokei from the main ref at commit c2be91667c13 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit c2be91667c13), apache/tika contains 341,374 total lines: 219,977 code, 87,788 comments, 33,609 blank, across 1,859 files in 13 languages (top language: Java 82.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/tika to commit c2be91667c13, 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.
This is a large codebase by counted code lines. Code represents 64.4% of all lines, comments represent 25.7%, and the repository averages 118 code lines per file. Java accounts for 82.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 1602 | 287338 | 182354 | 75535 | 29449 |
| XML | 170 | 37990 | 32028 | 4373 | 1589 |
| JSON | 19 | 2256 | 2255 | 0 | 1 |
| Shell | 11 | 1904 | 1242 | 452 | 210 |
| Python | 7 | 1287 | 1036 | 80 | 171 |
| BASH | 1 | 573 | 468 | 50 | 55 |
| Dockerfile | 3 | 279 | 188 | 65 | 26 |
| Batch | 1 | 189 | 165 | 0 | 24 |
| Protocol Buffers | 1 | 209 | 128 | 59 | 22 |
| HTML | 5 | 157 | 67 | 87 | 3 |
| YAML | 3 | 150 | 46 | 91 | 13 |
| Markdown | 17 | 1869 | 0 | 1364 | 505 |
Top language: Java 82.9%. Generated on .
apache/tika: 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.
apache/tika has 219,977 lines of code, plus 87,788 comment lines and 33,609 blank lines, for 341,374 total lines at commit c2be91667c13 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c2be91667c13, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit c2be91667c13 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/tika on this page — 219,977 code lines across 13 languages, counted by tokei.