# apache/jena SLOC report

> apache/jena: 467,896 code lines at commit d5b47b73e3e2, counted with tokei-15.0.0 on 2026-11-12. Saved result b4b8c992a1df269ca0cbd5a91c9ee383c063f2035da0fdf958a23e5b1420904f.

Source: [apache/jena on GitHub](https://github.com/apache/jena) · counted commit [d5b47b73e3e2](https://github.com/apache/jena/tree/d5b47b73e3e260bf1db62c776efb960bc758a93d)

apache/jena has 467,896 source lines of code out of 803,942 total lines across 5,236 files, counted with tokei from the main ref at commit d5b47b73e3e2 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/jena to commit d5b47b73e3e2, 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/jena: 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 58.2% of all lines, comments represent 30.0%, and the repository averages 89 code lines per file. Java accounts for 94.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 4,707 | 759,259 | 440,937 | 229,921 | 88,401 |
| XML | 216 | 12,605 | 9,606 | 1,435 | 1,564 |
| Ruby | 10 | 6,620 | 5,008 | 769 | 843 |
| Shell | 44 | 4,610 | 3,054 | 982 | 574 |
| Snakemake | 34 | 4,332 | 2,111 | 1,204 | 1,017 |
| Perl | 9 | 1,967 | 1,084 | 467 | 416 |
| BASH | 15 | 1,643 | 1,030 | 364 | 249 |
| JavaScript | 21 | 1,480 | 929 | 459 | 92 |
| Batch | 46 | 1,060 | 833 | 0 | 227 |
| HTML | 39 | 1,573 | 811 | 662 | 100 |
| DAML | 2 | 934 | 798 | 0 | 136 |
| XSL | 6 | 1,121 | 711 | 262 | 148 |
| Vue | 21 | 627 | 247 | 336 | 44 |
| Protocol Buffers | 1 | 166 | 102 | 33 | 31 |
| Thrift | 1 | 171 | 102 | 38 | 31 |
| CSS | 1 | 148 | 101 | 23 | 24 |
| JSON | 1 | 90 | 90 | 0 | 0 |
| SVG | 1 | 90 | 87 | 2 | 1 |
| Sass | 2 | 122 | 85 | 33 | 4 |
| Dockerfile | 1 | 132 | 64 | 36 | 32 |
| INI | 4 | 81 | 41 | 17 | 23 |
| Python | 1 | 24 | 24 | 0 | 0 |
| Forge Config | 1 | 20 | 20 | 0 | 0 |
| YAML | 1 | 32 | 12 | 19 | 1 |
| Elixir | 1 | 63 | 9 | 42 | 12 |
| Markdown | 28 | 1,115 | 0 | 766 | 349 |
| Plain Text | 22 | 3,857 | 0 | 3,128 | 729 |

Top language: Java 94.2%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/apache/jena/commit/d5b47b73e3e260bf1db62c776efb960bc758a93d?reportId=b4b8c992a1df269ca0cbd5a91c9ee383c063f2035da0fdf958a23e5b1420904f&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/jena/commit/d5b47b73e3e260bf1db62c776efb960bc758a93d?reportId=b4b8c992a1df269ca0cbd5a91c9ee383c063f2035da0fdf958a23e5b1420904f&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/jena have?

apache/jena has 467,896 lines of code, plus 240,998 comment lines and 95,048 blank lines, for 803,942 total lines at commit d5b47b73e3e2 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit d5b47b73e3e2, 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/jena?

This OctoCounts report was generated from main at commit d5b47b73e3e2 on November 12, 2026.

## Similar repository reports

- [h2oai/h2o-3](https://octocounts.com/github/h2oai/h2o-3) — Java, 465,214 code lines
- [apache/seatunnel](https://octocounts.com/github/apache/seatunnel) — Java, 473,122 code lines
- [spring-projects/spring-framework](https://octocounts.com/github/spring-projects/spring-framework) — Java, 462,309 code lines
- [apache/phoenix](https://octocounts.com/github/apache/phoenix) — Java, 474,411 code lines
- [jetty/jetty.project](https://octocounts.com/github/jetty/jetty.project) — Java, 461,328 code lines
- [SonarSource/sonarqube](https://octocounts.com/github/SonarSource/sonarqube) — Java, 475,843 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)
