As of 2026-08-02 (commit 40a2f0248e3c), apache/ant contains 416,497 total lines: 250,278 code, 126,547 comments, 39,672 blank, across 2,186 files in 15 languages (top: Java 59.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/ant to commit 40a2f0248e3c, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 60.1% of all lines, comments represent 30.4%, and the repository averages 114 code lines per file. Java accounts for 59.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 1338 | 289078 | 147884 | 110992 | 30202 |
| HTML | 232 | 56494 | 49513 | 3731 | 3250 |
| XML | 518 | 56554 | 42184 | 9425 | 4945 |
| XSL | 39 | 11801 | 9216 | 1676 | 909 |
| Batch | 9 | 869 | 629 | 82 | 158 |
| Shell | 10 | 542 | 289 | 196 | 57 |
| CSS | 1 | 263 | 196 | 22 | 45 |
| Perl | 3 | 307 | 135 | 137 | 35 |
| Python | 1 | 106 | 66 | 24 | 16 |
| JavaScript | 1 | 85 | 65 | 17 | 3 |
| Bitbake | 3 | 59 | 51 | 0 | 8 |
| YAML | 1 | 65 | 47 | 14 | 4 |
Top language (Java 59.1%). Generated at 2026-08-02T06:12:28.788120362+00:00.
apache/ant has 416,497 total lines, including 250,278 code lines, 126,547 comment lines, and 39,672 blank lines.
OctoCounts resolved the public GitHub repository to commit 40a2f0248e3c, 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 master at commit 40a2f0248e3c on 2026-08-02T06:12:28.788120362+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: