apache/tomcat SLOC report
As of 2026-07-25 (commit c6c231e0a04a), apache/tomcat contains 556,645 total lines: 296,946 code, 190,966 comments, 68,733 blank, across 2,122 files in 15 languages (top: Java 89.7%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 53.3% of all lines, comments represent 34.3%, and the repository averages 140 code lines per file. Java accounts for 89.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 1883 | 514160 | 266408 | 183128 | 64624 |
| XML | 83 | 25625 | 20478 | 3172 | 1975 |
| HTML | 82 | 5325 | 3577 | 1314 | 434 |
| SVG | 6 | 3078 | 2916 | 99 | 63 |
| Batch | 12 | 1273 | 1116 | 0 | 157 |
| Shell | 15 | 1777 | 1056 | 530 | 191 |
| CSS | 3 | 680 | 523 | 48 | 109 |
| JSON | 15 | 372 | 369 | 0 | 3 |
| Perl | 1 | 482 | 324 | 107 | 51 |
| XSL | 1 | 140 | 109 | 17 | 14 |
| YAML | 1 | 51 | 36 | 14 | 1 |
| Dockerfile | 1 | 61 | 20 | 29 | 12 |
Top language (Java 89.7%). Generated at 2026-07-25T21:03:19.554818220+00:00.
Report FAQ
How many lines of code does apache/tomcat have?
apache/tomcat has 556,645 total lines, including 296,946 code lines, 190,966 comment lines, and 68,733 blank lines.
How was the apache/tomcat line count measured?
OctoCounts resolved the public GitHub repository to commit c6c231e0a04a, 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/tomcat?
This OctoCounts report was generated from main at commit c6c231e0a04a on 2026-07-25T21:03:19.554818220+00:00.