google/guava SLOC report
As of 2026-08-08 (commit 0a8e1ec55afe), google/guava contains 1,042,698 total lines: 516,869 code, 434,766 comments, 91,063 blank, across 3,299 files in 11 languages (top: Java 99.1%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 49.6% of all lines, comments represent 41.7%, and the repository averages 157 code lines per file. Java accounts for 99.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 3229 | 793149 | 512208 | 191947 | 88994 |
| XML | 33 | 4112 | 3373 | 666 | 73 |
| Shell | 6 | 696 | 403 | 211 | 82 |
| JSON | 1 | 283 | 283 | 0 | 0 |
| Batch | 2 | 288 | 234 | 0 | 54 |
| Kotlin | 2 | 245 | 213 | 17 | 15 |
| 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 | 13 | 243455 | 0 | 241705 | 1750 |
Top language (Java 99.1%). Generated at 2026-08-08T09:45:11.629891867+00:00.
Report FAQ
How many lines of code does google/guava have?
google/guava has 1,042,698 total lines, including 516,869 code lines, 434,766 comment lines, and 91,063 blank lines.
How was the google/guava line count measured?
OctoCounts resolved the public GitHub repository to commit 0a8e1ec55afe, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for google/guava?
This OctoCounts report was generated from master at commit 0a8e1ec55afe on 2026-08-08T09:45:11.629891867+00:00.