# googleapis/google-cloud-java SLOC report

> As of 2026-11-21 (commit 322c61ae4705), googleapis/google-cloud-java contains 65,168,026 total lines: 35,429,953 code, 24,784,465 comments, 4,953,608 blank, across 82,777 files in 20 languages (top language: Java 93.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

googleapis/google-cloud-java has 35,429,953 source lines of code out of 65,168,026 total lines across 82,777 files, counted with tokei from the 322c61ae47058e3f1747474e5461c0d61ab9a4cd ref at commit 322c61ae4705 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving googleapis/google-cloud-java to commit 322c61ae4705, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

googleapis/google-cloud-java: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 54.4% of all lines, comments represent 38.0%, and the repository averages 428 code lines per file. Java accounts for 93.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 76,086 | 61,816,107 | 33,060,320 | 24,098,048 | 4,657,739 |
| JSON | 828 | 1,745,496 | 1,745,493 | 0 | 3 |
| Protocol Buffers | 3,014 | 1,201,100 | 464,761 | 552,465 | 183,874 |
| XML | 2,133 | 156,132 | 146,753 | 5,261 | 4,118 |
| YAML | 4 | 6,548 | 6,480 | 33 | 35 |
| Bazel | 21 | 1,980 | 1,444 | 313 | 223 |
| Shell | 28 | 2,422 | 1,424 | 625 | 373 |
| Python | 13 | 1,840 | 1,339 | 237 | 264 |
| SQL | 28 | 1,158 | 798 | 310 | 50 |
| Makefile | 3 | 291 | 217 | 17 | 57 |
| Templ | 7 | 263 | 200 | 13 | 50 |
| FreeMarker | 2 | 212 | 195 | 2 | 15 |

Top language: Java 93.3%. Generated on November 21, 2026. Canonical report: https://octocounts.com/github/googleapis/google-cloud-java

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/googleapis/google-cloud-java/commit/322c61ae47058e3f1747474e5461c0d61ab9a4cd?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&reportId=0e6f402e20d9d6d633691b27c937b30714da4a4d3d83f3b68f438bd1b7fc175c).

## Report FAQ

### How many lines of code does googleapis/google-cloud-java have?

googleapis/google-cloud-java has 35,429,953 lines of code, plus 24,784,465 comment lines and 4,953,608 blank lines, for 65,168,026 total lines at commit 322c61ae4705 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the googleapis/google-cloud-java line count measured?

OctoCounts resolved the public GitHub repository to commit 322c61ae4705, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for googleapis/google-cloud-java?

This OctoCounts report was generated from 322c61ae47058e3f1747474e5461c0d61ab9a4cd at commit 322c61ae4705 on November 21, 2026.

## Similar repository reports

- [JetBrains/intellij-community](https://octocounts.com/github/JetBrains/intellij-community) — Java, 10,940,431 code lines
- [liferay/liferay-portal](https://octocounts.com/github/liferay/liferay-portal) — Java, 9,997,303 code lines
- [openjdk/jdk](https://octocounts.com/github/openjdk/jdk) — Java, 5,725,967 code lines
- [microsoft/openjdk-jdk25u](https://octocounts.com/github/microsoft/openjdk-jdk25u) — Java, 5,626,404 code lines
- [crdroidandroid/android_frameworks_base](https://octocounts.com/github/crdroidandroid/android_frameworks_base) — Java, 5,463,684 code lines
- [Evolution-X/frameworks_base](https://octocounts.com/github/Evolution-X/frameworks_base) — Java, 5,462,911 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
