facebook/hhvm SLOC report
As of 2026-08-15 (commit 532a20e794fe), facebook/hhvm contains 6,788,732 total lines: 4,624,518 code, 1,405,108 comments, 759,106 blank, across 22,197 files in 65 languages (top: C++ 43.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebook/hhvm to commit 532a20e794fe, 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.1% of all lines, comments represent 20.7%, and the repository averages 208 code lines per file. C++ accounts for 43.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 4959 | 2772869 | 2031951 | 439529 | 301389 |
| C Header | 6908 | 1889207 | 1150418 | 533522 | 205267 |
| C | 426 | 482218 | 340212 | 85788 | 56218 |
| OCaml | 1789 | 349553 | 272549 | 45197 | 31807 |
| Rust | 1031 | 292749 | 251018 | 16064 | 25667 |
| Bitbake | 7 | 169002 | 168682 | 38 | 282 |
| Python | 356 | 74305 | 54508 | 7994 | 11803 |
| PHP | 583 | 105827 | 48290 | 47877 | 9660 |
| CMake | 548 | 63495 | 46134 | 11162 | 6199 |
| Java | 502 | 60725 | 39306 | 13896 | 7523 |
| Thrift | 101 | 44964 | 34899 | 6968 | 3097 |
| SQL | 171 | 29699 | 23510 | 5020 | 1169 |
Top language (C++ 43.9%). Generated at 2026-08-15T01:25:39.075747770+00:00.
Report FAQ
How many lines of code does facebook/hhvm have?
facebook/hhvm has 6,788,732 total lines, including 4,624,518 code lines, 1,405,108 comment lines, and 759,106 blank lines.
How was the facebook/hhvm line count measured?
OctoCounts resolved the public GitHub repository to commit 532a20e794fe, 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 532a20e794fe on 2026-08-15T01:25:39.075747770+00:00.