# google/fhir SLOC report

> As of 2026-09-18 (commit 473e781dc813), 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.

google/fhir has 6,037,330 source lines of code out of 6,330,527 total lines across 32,244 files, counted from the 473e781dc813e23cb9b016809a845a3207d12451 ref at commit 473e781dc813 by the OctoCounts tokei engine on 2026-09-18. 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/fhir to commit 473e781dc813, 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 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 | 31,047 | 4,755,780 | 4,755,779 | 0 | 1 |
| Go | 420 | 1,273,640 | 1,087,377 | 69,292 | 116,971 |
| Protocol Buffers | 409 | 219,635 | 132,575 | 46,654 | 40,406 |
| C++ | 81 | 30,092 | 23,943 | 2,516 | 3,633 |
| Java | 110 | 29,696 | 22,692 | 3,816 | 3,188 |
| Bazel | 68 | 8,797 | 7,996 | 110 | 691 |
| C Header | 54 | 10,921 | 6,167 | 3,112 | 1,642 |
| Shell | 24 | 1,015 | 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 2026-09-18T15:07:34.913610769+00:00. Canonical report: https://octocounts.com/github/google/fhir

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google/fhir/commit/473e781dc813e23cb9b016809a845a3207d12451?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).

## Report FAQ

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

google/fhir has 6,330,527 total lines, including 6,037,330 code lines, 126,394 comment lines, and 166,803 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 473e781dc813, 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/fhir?

This OctoCounts report was generated from 473e781dc813e23cb9b016809a845a3207d12451 at commit 473e781dc813 on 2026-09-18T15:07:34.913610769+00:00.

## Similar repository reports

- [teamchong/pxpipe](https://octocounts.com/github/teamchong/pxpipe) — JSON, 5,800,247 code lines
- [paperclipai/paperclip](https://octocounts.com/github/paperclipai/paperclip) — JSON, 5,434,482 code lines
- [meshery/meshery](https://octocounts.com/github/meshery/meshery) — JSON, 4,708,063 code lines
- [monkeytypegame/monkeytype](https://octocounts.com/github/monkeytypegame/monkeytype) — JSON, 7,412,535 code lines
- [lobehub/lobehub](https://octocounts.com/github/lobehub/lobehub) — JSON, 4,541,199 code lines
- [avifenesh/memra](https://octocounts.com/github/avifenesh/memra) — JSON, 7,702,231 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)
- [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)
