# apache/tika SLOC report

> As of 2026-11-16 (commit c2c3bcfdf1cc), 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.

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 c2c3bcfdf1cc on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/tika to commit c2c3bcfdf1cc, 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 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 | 1,602 | 287,338 | 182,354 | 75,535 | 29,449 |
| XML | 170 | 37,990 | 32,028 | 4,373 | 1,589 |
| 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 |

Top language: Java 82.9%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/tika

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/tika/commit/c2c3bcfdf1ccf7f2da429df2ebb00d0a6feee94e?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=090f8befada663386bf1026435182f0239e36008c379977037afced51c6049c0).

## Report FAQ

### How many lines of code does apache/tika have?

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 c2c3bcfdf1cc on November 16, 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 c2c3bcfdf1cc, 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 c2c3bcfdf1cc on November 16, 2026.

## Similar repository reports

- [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
- [Xiao-MoMi/craft-engine](https://octocounts.com/github/Xiao-MoMi/craft-engine) — Java, 221,628 code lines
- [ReChronoRain/HyperCeiler](https://octocounts.com/github/ReChronoRain/HyperCeiler) — Java, 225,548 code lines
- [gephi/gephi](https://octocounts.com/github/gephi/gephi) — Java, 214,370 code lines
- [anonfaded/FadCam](https://octocounts.com/github/anonfaded/FadCam) — Java, 225,942 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)
- [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)
