# google/guava SLOC report

> google/guava: 274,913 code lines at commit 7caa334327e2, counted with tokei-14.0.0 on 2026-10-23. Saved result e5a1644382773d0d6bae4ce097cfda4290c1e73ce87e406c8236d443d613fef3.

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.

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.

## Repository size insights

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 | 2,001 | 475,789 | 270,269 | 157,157 | 48,363 |
| XML | 29 | 3,970 | 3,339 | 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 2026-10-23T07:25:59.289838729Z. Canonical report: https://octocounts.com/github/google/guava/commit/7caa334327e2d6a6b75920ff939048db21cd5b72?reportId=e5a1644382773d0d6bae4ce097cfda4290c1e73ce87e406c8236d443d613fef3&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

google/guava has 481,809 total lines, including 274,913 code lines, 158,210 comment lines, and 48,686 blank lines.

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

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.

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

This OctoCounts report was generated from master at commit 7caa334327e2 on 2026-10-23T07:25:59.289838729Z.

## Similar repository reports

- [k20050215/Research-Agent](https://octocounts.com/github/k20050215/Research-Agent) — Java, 273,358 code lines
- [apache/activemq](https://octocounts.com/github/apache/activemq) — Java, 265,452 code lines
- [apache/zeppelin](https://octocounts.com/github/apache/zeppelin) — Java, 288,368 code lines
- [apache/ActiveMQ](https://octocounts.com/github/apache/ActiveMQ) — Java, 262,026 code lines
- [yuliskov/SmartTube](https://octocounts.com/github/yuliskov/SmartTube) — Java, 290,814 code lines
- [spotbugs/spotbugs](https://octocounts.com/github/spotbugs/spotbugs) — Java, 256,119 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)
