As of 2026-09-11 (commit b30262d1bca7), google/guava contains 480,440 total lines: 274,029 code, 157,903 comments, 48,508 blank, across 2,055 files in 11 languages (top: Java 98.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving google/guava to commit b30262d1bca7, 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 57.0% of all lines, comments represent 32.9%, and the repository averages 133 code lines per file. Java accounts for 98.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 2001 | 474448 | 269398 | 156864 | 48186 |
| XML | 29 | 3966 | 3335 | 566 | 65 |
| Shell | 6 | 691 | 399 | 210 | 82 |
| JSON | 1 | 283 | 283 | 0 | 0 |
| Batch | 2 | 288 | 234 | 0 | 54 |
| Kotlin | 2 | 260 | 225 | 17 | 18 |
| Prolog | 6 | 144 | 135 | 0 | 9 |
| JavaScript | 2 | 29 | 12 | 13 | 4 |
| HTML | 1 | 11 | 8 | 0 | 3 |
| Markdown | 4 | 286 | 0 | 207 | 79 |
| Plain Text | 1 | 34 | 0 | 26 | 8 |
Top language (Java 98.3%). Generated at .
google/guava has 480,440 total lines, including 274,029 code lines, 157,903 comment lines, and 48,508 blank lines.
OctoCounts resolved the public GitHub repository to commit b30262d1bca7, 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 b30262d1bca73a10ca5095cfff41b201a47c1bdd at commit b30262d1bca7 on 2026-09-11T13:21:16.133471923+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: