# OHIF/Viewers SLOC report

> As of 2026-10-24 (commit d5b8f56e5bf5), OHIF/Viewers contains 423,976 total lines: 196,399 code, 70,142 comments, 157,435 blank, across 2,127 files in 14 languages (top: TypeScript 35.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OHIF/Viewers has 196,399 source lines of code out of 423,976 total lines across 2,127 files, counted from the master ref at commit d5b8f56e5bf5 by the OctoCounts tokei engine on 2026-10-24. 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 OHIF/Viewers to commit d5b8f56e5bf5, 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 large codebase by counted code lines. Code represents 46.3% of all lines, comments represent 16.5%, and the repository averages 92 code lines per file. TypeScript accounts for 35.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 688 | 93,060 | 69,505 | 12,521 | 11,034 |
| TSX | 554 | 63,718 | 53,797 | 4,159 | 5,762 |
| JavaScript | 462 | 48,015 | 39,715 | 5,279 | 3,021 |
| YAML | 2 | 28,998 | 24,251 | 51 | 4,696 |
| JSON | 318 | 6,961 | 6,961 | 0 | 0 |
| CSS | 23 | 1,820 | 1,411 | 193 | 216 |
| HTML | 5 | 643 | 581 | 37 | 25 |
| SVG | 4 | 60 | 60 | 0 | 0 |
| Shell | 2 | 74 | 53 | 14 | 7 |
| Dockerfile | 1 | 89 | 35 | 43 | 11 |
| TOML | 1 | 39 | 18 | 15 | 6 |
| XML | 1 | 12 | 12 | 0 | 0 |

Top language (TypeScript 35.4%). Generated at 2026-10-24T09:52:15.656581532+00:00. Canonical report: https://octocounts.com/github/OHIF/Viewers

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/OHIF/Viewers/commit/d5b8f56e5bf588529df233107c6c335ce9b21320?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=b0f9f07ab6adcc7a3a45b036250d4246ce3ab46ebd3d99830aa07dcb667bda06).

## Report FAQ

### How many lines of code does OHIF/Viewers have?

OHIF/Viewers has 423,976 total lines, including 196,399 code lines, 70,142 comment lines, and 157,435 blank lines.

### How was the OHIF/Viewers line count measured?

OctoCounts resolved the public GitHub repository to commit d5b8f56e5bf5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for OHIF/Viewers?

This OctoCounts report was generated from master at commit d5b8f56e5bf5 on 2026-10-24T09:52:15.656581532+00:00.

## Similar repository reports

- [earendil-works/pi](https://octocounts.com/github/earendil-works/pi) — TypeScript, 196,093 code lines
- [amiantos/lurker](https://octocounts.com/github/amiantos/lurker) — TypeScript, 197,118 code lines
- [RooCodeInc/Roo-Code](https://octocounts.com/github/RooCodeInc/Roo-Code) — TypeScript, 197,150 code lines
- [ant981228/cardmirror](https://octocounts.com/github/ant981228/cardmirror) — TypeScript, 197,951 code lines
- [Specy/asm-editor](https://octocounts.com/github/Specy/asm-editor) — TypeScript, 194,324 code lines
- [gatewai-dev/framefields](https://octocounts.com/github/gatewai-dev/framefields) — TypeScript, 193,912 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
