google/guava has 274,913 source lines of code out of 481,809 total lines across 2,055 files, counted from the master ref at commit 7caa334327e2 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit 7caa334327e2), google/guava contains 481,809 total lines: 274,913 code, 158,210 comments, 48,686 blank, across 2,055 files in 11 languages (top: Java 98.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving google/guava to commit 7caa334327e2, 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.1% of all lines, comments represent 32.8%, and the repository averages 134 code lines per file. Java accounts for 98.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 2001 | 475789 | 270269 | 157157 | 48363 |
| XML | 29 | 3970 | 3339 | 566 | 65 |
| Shell | 6 | 691 | 399 | 210 | 82 |
| JSON | 1 | 283 | 283 | 0 | 0 |
| Batch | 2 | 318 | 243 | 20 | 55 |
| 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 | 280 | 0 | 201 | 79 |
| Plain Text | 1 | 34 | 0 | 26 | 8 |
Top language (Java 98.3%). Generated at .
google/guava has 481,809 total lines, including 274,913 code lines, 158,210 comment lines, and 48,686 blank lines.
OctoCounts resolved the public GitHub repository to commit 7caa334327e2, 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 7caa334327e2 on 2026-10-23T07:25:59.289838729+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for google/guava on this page — 274,913 code lines across 11 languages, counted by tokei.