apache/karaf has 154,762 source lines of code out of 232,620 total lines across 1,906 files, counted with tokei from the main ref at commit 0f69706d3214 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 0f69706d3214), apache/karaf contains 232,620 total lines: 154,762 code, 49,925 comments, 27,933 blank, across 1,906 files in 19 languages (top language: Java 70.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/karaf to commit 0f69706d3214, 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 66.5% of all lines, comments represent 21.5%, and the repository averages 81 code lines per file. Java accounts for 70.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 1310 | 164121 | 108314 | 36654 | 19153 |
| XML | 410 | 40781 | 30063 | 7615 | 3103 |
| AsciiDoc | 47 | 15418 | 11019 | 615 | 3784 |
| Shell | 16 | 2067 | 1350 | 487 | 230 |
| Batch | 13 | 1624 | 1308 | 86 | 230 |
| JavaScript | 6 | 1098 | 882 | 113 | 103 |
| Sass | 3 | 873 | 640 | 103 | 130 |
| Forge Config | 41 | 1888 | 404 | 1331 | 153 |
| XSL | 3 | 416 | 336 | 58 | 22 |
| CSS | 2 | 297 | 193 | 74 | 30 |
| YAML | 3 | 213 | 141 | 57 | 15 |
| GraphQL | 1 | 41 | 36 | 0 | 5 |
Top language: Java 70.0%. Generated on .
apache/karaf: 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/karaf has 154,762 lines of code, plus 49,925 comment lines and 27,933 blank lines, for 232,620 total lines at commit 0f69706d3214 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0f69706d3214, 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 0f69706d3214 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/karaf on this page — 154,762 code lines across 19 languages, counted by tokei.