facebook/hhvm has 3,731,212 source lines of code out of 5,462,643 total lines across 15,682 files, counted from the master ref at commit da43939619db by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
facebook/hhvm: 3,731,212 code lines at commit da43939619db, counted with tokei-14.0.0 on 2026-10-21. Saved result b17d0a7c4cc8756b6e198c7ca1dd2d5a0a7a7a1c3062404d3e79a0b455ceda0d.
OctoCounts produced this report by resolving facebook/hhvm to commit da43939619db, 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.
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++ | 3322 | 2339650 | 1697407 | 390735 | 251508 |
| C Header | 3818 | 1284492 | 789844 | 370035 | 124613 |
| C | 422 | 478502 | 337118 | 85610 | 55774 |
| OCaml | 1819 | 362747 | 283170 | 46851 | 32726 |
| Rust | 799 | 261882 | 226405 | 13363 | 22114 |
| Bitbake | 7 | 169002 | 168682 | 38 | 282 |
| PHP | 467 | 85516 | 33901 | 43960 | 7655 |
| Python | 181 | 36660 | 26435 | 4037 | 6188 |
| CMake | 348 | 36483 | 25138 | 7519 | 3826 |
| SQL | 171 | 29699 | 23510 | 5020 | 1169 |
| Autoconf | 257 | 26937 | 16058 | 6977 | 3902 |
| Shell | 67 | 17559 | 12381 | 3111 | 2067 |
| YAML | 413 | 13453 | 11624 | 1130 | 699 |
| JSON | 41 | 9886 | 9883 | 0 | 3 |
| HTML | 55 | 9058 | 8534 | 19 | 505 |
| Visual Studio Project | 30 | 7956 | 7956 | 0 | 0 |
| M4 | 7 | 10289 | 7483 | 1954 | 852 |
| JavaScript | 54 | 9064 | 6774 | 1373 | 917 |
| Protocol Buffers | 65 | 10304 | 5420 | 3757 | 1127 |
| XML | 27 | 4884 | 4273 | 39 | 572 |
| TOML | 227 | 4759 | 3824 | 222 | 713 |
| Puppet | 22 | 3870 | 3714 | 156 | 0 |
| C++ Header | 14 | 4574 | 3242 | 645 | 687 |
| Automake | 6 | 2098 | 1960 | 52 | 86 |
| Java | 20 | 2527 | 1817 | 386 | 324 |
| Makefile | 41 | 2967 | 1812 | 652 | 503 |
| Thrift | 5 | 3896 | 1498 | 1994 | 404 |
| GNU Style Assembly | 11 | 2009 | 1414 | 306 | 289 |
| Module-Definition | 28 | 1776 | 1393 | 172 | 211 |
| ReStructuredText | 32 | 1617 | 1197 | 0 | 420 |
| CSS | 9 | 1358 | 1085 | 105 | 168 |
| XAML | 3 | 1053 | 938 | 62 | 53 |
| Bazel | 2 | 951 | 819 | 61 | 71 |
| Visual Studio Solution | 24 | 822 | 799 | 0 | 23 |
| Perl | 8 | 1193 | 726 | 283 | 184 |
| LLVM | 2 | 738 | 656 | 0 | 82 |
| Assembly | 7 | 598 | 449 | 125 | 24 |
| Ruby | 6 | 540 | 433 | 36 | 71 |
| Nix | 5 | 440 | 374 | 53 | 13 |
| Happy | 2 | 340 | 289 | 0 | 51 |
| SWIG | 1 | 180 | 157 | 5 | 18 |
| Objective-C | 3 | 264 | 150 | 62 | 52 |
| BASH | 6 | 226 | 146 | 49 | 31 |
| Batch | 5 | 202 | 101 | 78 | 23 |
| Rakefile | 1 | 54 | 41 | 1 | 12 |
| Alloy | 1 | 41 | 37 | 0 | 4 |
| CoffeeScript | 4 | 41 | 32 | 2 | 7 |
| SVG | 6 | 32 | 31 | 1 | 0 |
| OpenCL | 1 | 56 | 26 | 19 | 11 |
| Lex | 1 | 17 | 17 | 0 | 0 |
| INI | 3 | 22 | 14 | 4 | 4 |
| AWK | 2 | 63 | 9 | 47 | 7 |
| MSBuild | 1 | 9 | 9 | 0 | 0 |
| Monkey C | 1 | 16 | 7 | 7 | 2 |
| MDX | 2 | 186 | 0 | 108 | 78 |
| Markdown | 2738 | 146460 | 0 | 79252 | 67208 |
| Plain Text | 62 | 72625 | 0 | 66332 | 6293 |
Top language (C++ 45.5%). Generated at .
facebook/hhvm has 5,462,643 total lines, including 3,731,212 code lines, 1,136,805 comment lines, and 594,626 blank lines.
OctoCounts resolved the public GitHub repository to commit da43939619db, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit da43939619db on 2026-10-21T02:18:27.155780047Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for facebook/hhvm on this page — 3,731,212 code lines across 57 languages, counted by tokei.