# apache/tika SLOC report

> apache/tika: 221,723 code lines at commit a40d54f6a6d9, counted with tokei-15.0.0 on 2026-11-09. Saved result f24ab9992ee06fdc9ea16e590d99df398e6e245b9b12d249b56f81ea94ab71bb.

Source: [apache/tika on GitHub](https://github.com/apache/tika) · counted commit [a40d54f6a6d9](https://github.com/apache/tika/tree/a40d54f6a6d9cf8ce485f10bb07011cd32ef5925)

apache/tika has 221,723 source lines of code out of 347,782 total lines across 1,896 files, counted with tokei from the main ref at commit a40d54f6a6d9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/tika to commit a40d54f6a6d9, 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

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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 63.8% of all lines, comments represent 26.3%, and the repository averages 117 code lines per file. Java accounts for 83.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,639 | 293,919 | 184,164 | 79,465 | 30,290 |
| XML | 170 | 37,915 | 31,964 | 4,366 | 1,585 |
| JSON | 19 | 2,256 | 2,255 | 0 | 1 |
| Shell | 11 | 1,904 | 1,242 | 452 | 210 |
| Python | 7 | 1,287 | 1,036 | 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 | 1,869 | 0 | 1,364 | 505 |
| Plain Text | 19 | 7,075 | 0 | 5,554 | 1,521 |

Top language: Java 83.1%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/apache/tika/commit/a40d54f6a6d9cf8ce485f10bb07011cd32ef5925?reportId=f24ab9992ee06fdc9ea16e590d99df398e6e245b9b12d249b56f81ea94ab71bb&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/apache/tika/commit/a40d54f6a6d9cf8ce485f10bb07011cd32ef5925?reportId=f24ab9992ee06fdc9ea16e590d99df398e6e245b9b12d249b56f81ea94ab71bb&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 apache/tika have?

apache/tika has 221,723 lines of code, plus 91,633 comment lines and 34,426 blank lines, for 347,782 total lines at commit a40d54f6a6d9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the apache/tika line count measured?

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

### What commit was counted for apache/tika?

This OctoCounts report was generated from main at commit a40d54f6a6d9 on November 9, 2026.

## Similar repository reports

- [Xiao-MoMi/craft-engine](https://octocounts.com/github/Xiao-MoMi/craft-engine) — Java, 221,628 code lines
- [kongbai9288/KCU-Launcher](https://octocounts.com/github/kongbai9288/KCU-Launcher) — Java, 219,576 code lines
- [icysymmetra/tiktok-patches-for-morphe](https://octocounts.com/github/icysymmetra/tiktok-patches-for-morphe) — Java, 218,583 code lines
- [anonfaded/FadCam](https://octocounts.com/github/anonfaded/FadCam) — Java, 225,942 code lines
- [gephi/gephi](https://octocounts.com/github/gephi/gephi) — Java, 214,612 code lines
- [ReChronoRain/HyperCeiler](https://octocounts.com/github/ReChronoRain/HyperCeiler) — Java, 228,795 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
