# google/guava SLOC report

> 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%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

google/guava has 274,029 source lines of code out of 480,440 total lines across 2,055 files, counted from the b30262d1bca73a10ca5095cfff41b201a47c1bdd ref at commit b30262d1bca7 by the OctoCounts tokei engine on 2026-09-11. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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.

## Repository size insights

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 | 2,001 | 474,448 | 269,398 | 156,864 | 48,186 |
| XML | 29 | 3,966 | 3,335 | 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 2026-09-11T13:21:16.133471923+00:00. Canonical report: https://octocounts.com/github/google/guava

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/guava/commit/b30262d1bca73a10ca5095cfff41b201a47c1bdd?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does google/guava have?

google/guava has 480,440 total lines, including 274,029 code lines, 157,903 comment lines, and 48,508 blank lines.

### How was the google/guava line count measured?

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.

### What commit was counted for google/guava?

This OctoCounts report was generated from b30262d1bca73a10ca5095cfff41b201a47c1bdd at commit b30262d1bca7 on 2026-09-11T13:21:16.133471923+00:00.

## Similar repository reports

- [apache/ActiveMQ](https://octocounts.com/github/apache/ActiveMQ) — Java, 261,780 code lines
- [yuliskov/SmartTube](https://octocounts.com/github/yuliskov/SmartTube) — Java, 289,599 code lines
- [apache/tomcat](https://octocounts.com/github/apache/tomcat) — Java, 295,587 code lines
- [apache/ant](https://octocounts.com/github/apache/ant) — Java, 250,419 code lines
- [apache/activemq](https://octocounts.com/github/apache/activemq) — Java, 249,430 code lines
- [spring-projects/spring-boot](https://octocounts.com/github/spring-projects/spring-boot) — Java, 245,337 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
