# google/fhir SLOC report

> As of 2026-10-21 (commit 190539f9049a), google/fhir contains 6,330,617 total lines: 6,037,400 code, 126,405 comments, 166,812 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,400 source lines of code out of 6,330,617 total lines across 32,244 files, counted from the master ref at commit 190539f9049a by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving google/fhir to commit 190539f9049a, 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

google/fhir: tokei-14.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 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,730 | 1,087,447 | 69,303 | 116,980 |
| 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-10-21T03:55:55.059451576+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/190539f9049a03a44ca1daf38355ed826a30c040?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=ea38a50f75835a6c24fa1e9be94dae4ff741199df92d8a115eb24a380c9cb466).

## Report FAQ

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

google/fhir has 6,330,617 total lines, including 6,037,400 code lines, 126,405 comment lines, and 166,812 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 190539f9049a, 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 master at commit 190539f9049a on 2026-10-21T03:55:55.059451576+00:00.

## Similar repository reports

- [lobehub/lobehub](https://octocounts.com/github/lobehub/lobehub) — JSON, 5,896,758 code lines
- [teamchong/pxpipe](https://octocounts.com/github/teamchong/pxpipe) — JSON, 5,818,266 code lines
- [cmu-l3/gym-anything](https://octocounts.com/github/cmu-l3/gym-anything) — JSON, 5,797,672 code lines
- [meshery/meshery](https://octocounts.com/github/meshery/meshery) — JSON, 5,659,219 code lines
- [TheWeion/pf2e](https://octocounts.com/github/TheWeion/pf2e) — JSON, 6,511,968 code lines
- [nirholas/three.ws](https://octocounts.com/github/nirholas/three.ws) — JSON, 5,547,305 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)
