google/gson SLOC report
As of 2026-08-06 (commit 9d5d6a8f457f), google/gson contains 60,452 total lines: 40,225 code, 13,294 comments, 6,933 blank, across 294 files in 6 languages (top: Java 94.9%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 66.5% of all lines, comments represent 22.0%, and the repository averages 137 code lines per file. Java accounts for 94.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Java | 264 | 56242 | 38181 | 11887 | 6174 |
| XML | 8 | 1870 | 1473 | 304 | 93 |
| Protocol Buffers | 4 | 433 | 344 | 40 | 49 |
| Prolog | 4 | 157 | 131 | 0 | 26 |
| JSON | 1 | 101 | 96 | 0 | 5 |
| Markdown | 13 | 1649 | 0 | 1063 | 586 |
Top language (Java 94.9%). Generated at 2026-08-06T16:29:05.742826073+00:00.
Report FAQ
How many lines of code does google/gson have?
google/gson has 60,452 total lines, including 40,225 code lines, 13,294 comment lines, and 6,933 blank lines.
How was the google/gson line count measured?
OctoCounts resolved the public GitHub repository to commit 9d5d6a8f457f, 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/gson?
This OctoCounts report was generated from main at commit 9d5d6a8f457f on 2026-08-06T16:29:05.742826073+00:00.