# facebook/hhvm SLOC report

> As of 2026-10-10 (commit cad215892139), facebook/hhvm contains 5,458,471 total lines: 3,727,706 code, 1,136,431 comments, 594,334 blank, across 15,679 files in 57 languages (top: C++ 45.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

facebook/hhvm has 3,727,706 source lines of code out of 5,458,471 total lines across 15,679 files, counted from the master ref at commit cad215892139 by the OctoCounts tokei engine on 2026-10-10. 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 facebook/hhvm to commit cad215892139, 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 68.3% of all lines, comments represent 20.8%, and the repository averages 238 code lines per file. C++ accounts for 45.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 3,321 | 2,337,658 | 1,695,676 | 390,611 | 251,371 |
| C Header | 3,817 | 1,284,247 | 789,702 | 369,958 | 124,587 |
| C | 422 | 478,502 | 337,118 | 85,610 | 55,774 |
| OCaml | 1,819 | 361,267 | 281,943 | 46,690 | 32,634 |
| Rust | 799 | 261,558 | 226,114 | 13,353 | 22,091 |
| Bitbake | 7 | 169,002 | 168,682 | 38 | 282 |
| PHP | 467 | 85,526 | 33,892 | 43,978 | 7,656 |
| Python | 180 | 36,548 | 26,349 | 4,025 | 6,174 |
| CMake | 348 | 36,483 | 25,138 | 7,519 | 3,826 |
| SQL | 171 | 29,699 | 23,510 | 5,020 | 1,169 |
| Autoconf | 257 | 26,937 | 16,058 | 6,977 | 3,902 |
| Shell | 67 | 17,540 | 12,364 | 3,110 | 2,066 |

Top language (C++ 45.5%). Generated at 2026-10-10T00:38:43.255197651+00:00. Canonical report: https://octocounts.com/github/facebook/hhvm

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/facebook/hhvm/commit/cad215892139dfb51d9c322aae5e7079bf1f9ced?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 facebook/hhvm have?

facebook/hhvm has 5,458,471 total lines, including 3,727,706 code lines, 1,136,431 comment lines, and 594,334 blank lines.

### How was the facebook/hhvm line count measured?

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

### What commit was counted for facebook/hhvm?

This OctoCounts report was generated from master at commit cad215892139 on 2026-10-10T00:38:43.255197651+00:00.

## Similar repository reports

- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,120,340 code lines
- [RosettaCommons/rosetta](https://octocounts.com/github/RosettaCommons/rosetta) — C++, 3,107,052 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,125,045 code lines
- [microsoft/onnxruntime](https://octocounts.com/github/microsoft/onnxruntime) — C++, 2,492,661 code lines
- [ClickHouse/ClickHouse](https://octocounts.com/github/ClickHouse/ClickHouse) — C++, 2,482,408 code lines
- [swiftlang/swift](https://octocounts.com/github/swiftlang/swift) — C++, 2,271,590 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
