As of 2026-08-26 (commit dae37cf0fe12), google/gson contains 26,981 total lines: 14,897 code, 9,388 comments, 2,696 blank, across 147 files in 4 languages (top: Java 89.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving google/gson to commit dae37cf0fe12, 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.
This is a medium-sized codebase by counted code lines. Code represents 55.2% of all lines, comments represent 34.8%, and the repository averages 101 code lines per file. Java accounts for 89.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 122 | 23305 | 13293 | 8021 | 1991 |
| XML | 8 | 1870 | 1473 | 304 | 93 |
| Prolog | 4 | 157 | 131 | 0 | 26 |
| Markdown | 13 | 1649 | 0 | 1063 | 586 |
Top language (Java 89.2%). Generated at 2026-08-26T11:35:47.657706542+00:00.
google/gson has 26,981 total lines, including 14,897 code lines, 9,388 comment lines, and 2,696 blank lines.
OctoCounts resolved the public GitHub repository to commit dae37cf0fe12, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit dae37cf0fe12 on 2026-08-26T11:35:47.657706542+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: