google/fhir has 6,037,330 source lines of code out of 6,330,527 total lines across 32,244 files, counted from the master ref at commit 1c0066974970 by the OctoCounts tokei engine on 2026-10-01. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-01 (commit 1c0066974970), google/fhir contains 6,330,527 total lines: 6,037,330 code, 126,394 comments, 166,803 blank, across 32,244 files in 13 languages (top: JSON 78.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving google/fhir to commit 1c0066974970, 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 very large codebase by counted code lines. Code represents 95.4% of all lines, comments represent 2.0%, and the repository averages 187 code lines per file. JSON accounts for 78.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 31047 | 4755780 | 4755779 | 0 | 1 |
| Go | 420 | 1273640 | 1087377 | 69292 | 116971 |
| Protocol Buffers | 409 | 219635 | 132575 | 46654 | 40406 |
| C++ | 81 | 30092 | 23943 | 2516 | 3633 |
| Java | 110 | 29696 | 22692 | 3816 | 3188 |
| Bazel | 68 | 8797 | 7996 | 110 | 691 |
| C Header | 54 | 10921 | 6167 | 3112 | 1642 |
| Shell | 24 | 1015 | 436 | 446 | 133 |
| Jupyter Notebooks | 2 | 333 | 209 | 107 | 17 |
| Python | 1 | 130 | 93 | 17 | 20 |
| SQL | 5 | 133 | 63 | 65 | 5 |
| Markdown | 12 | 315 | 0 | 226 | 89 |
Top language (JSON 78.8%). Generated at .
google/fhir has 6,330,527 total lines, including 6,037,330 code lines, 126,394 comment lines, and 166,803 blank lines.
OctoCounts resolved the public GitHub repository to commit 1c0066974970, 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 master at commit 1c0066974970 on 2026-10-01T18:01:07.239603831+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for google/fhir on this page — 6,037,330 code lines across 12 languages, counted by tokei.