# apache/camel SLOC report

> As of 2026-11-20 (commit 7dad07108774), apache/camel contains 2,415,815 total lines: 1,738,239 code, 450,912 comments, 226,664 blank, across 12,197 files in 27 languages (top language: Java 68.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

apache/camel has 1,738,239 source lines of code out of 2,415,815 total lines across 12,197 files, counted with tokei from the main ref at commit 7dad07108774 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/camel to commit 7dad07108774, 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/camel: 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 very large codebase by counted code lines. Code represents 72.0% of all lines, comments represent 18.7%, and the repository averages 143 code lines per file. Java accounts for 68.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 10,558 | 1,814,708 | 1,196,659 | 406,363 | 211,686 |
| JSON | 169 | 286,707 | 286,706 | 0 | 1 |
| XML | 823 | 246,258 | 224,394 | 15,955 | 5,909 |
| AsciiDoc | 26 | 6,730 | 5,322 | 19 | 1,389 |
| Shell | 24 | 5,468 | 3,624 | 1,196 | 648 |
| Apache Velocity | 28 | 4,185 | 3,452 | 501 | 232 |
| Protocol Buffers | 61 | 7,524 | 3,193 | 3,434 | 897 |
| XSL | 10 | 5,344 | 2,996 | 1,705 | 643 |
| FreeMarker | 26 | 3,042 | 2,392 | 468 | 182 |
| YAML | 50 | 2,817 | 2,323 | 406 | 88 |
| HTML | 130 | 4,592 | 1,946 | 2,372 | 274 |
| JavaScript | 4 | 2,202 | 1,866 | 184 | 152 |

Top language: Java 68.8%. Generated on November 20, 2026. Canonical report: https://octocounts.com/github/apache/camel

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/camel/commit/7dad071087749eb1a5df6b71e790d175771b4371?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=7729180891072fb30fa2b0ec3f50e133087596317cfb81f2011a42bd51d1752a).

## Report FAQ

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

apache/camel has 1,738,239 lines of code, plus 450,912 comment lines and 226,664 blank lines, for 2,415,815 total lines at commit 7dad07108774 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

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

This OctoCounts report was generated from main at commit 7dad07108774 on November 20, 2026.

## Similar repository reports

- [apache/doris](https://octocounts.com/github/apache/doris) — Java, 1,808,413 code lines
- [JetBrains/MPS](https://octocounts.com/github/JetBrains/MPS) — Java, 2,116,330 code lines
- [NationalSecurityAgency/ghidra](https://octocounts.com/github/NationalSecurityAgency/ghidra) — Java, 2,168,320 code lines
- [apache/geode](https://octocounts.com/github/apache/geode) — Java, 1,340,229 code lines
- [apache/beam](https://octocounts.com/github/apache/beam) — Java, 1,286,949 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,209,824 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)
