VirtualBox/virtualbox has 16,046,794 source lines of code out of 21,998,201 total lines across 42,017 files, counted from the main ref at commit b6bea72111fc 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.
VirtualBox/virtualbox: 16,046,794 code lines at commit b6bea72111fc, counted with tokei-14.0.0 on 2026-10-21. Saved result d4003c9e278fff29890d618a1381997e4faa71939cf19331df27686a4a3f4314.
OctoCounts produced this report by resolving VirtualBox/virtualbox to commit b6bea72111fc, 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 72.9% of all lines, comments represent 17.2%, and the repository averages 382 code lines per file. C accounts for 28.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 12170 | 6591283 | 4538211 | 1265982 | 787090 |
| C Header | 19183 | 6064410 | 4068316 | 1402772 | 593322 |
| C++ | 4254 | 3823115 | 2665996 | 712353 | 444766 |
| TypeScript | 85 | 1348582 | 1348063 | 0 | 519 |
| XML | 244 | 940160 | 928287 | 4778 | 7095 |
| GNU Style Assembly | 480 | 612066 | 534468 | 10771 | 66827 |
| Perl | 709 | 542691 | 432644 | 51483 | 58564 |
| JSON | 56 | 304113 | 304080 | 0 | 33 |
| C++ Header | 175 | 360877 | 301046 | 12968 | 46863 |
| Python | 776 | 407701 | 300135 | 48608 | 58958 |
| Assembly | 754 | 238258 | 167208 | 49521 | 21529 |
| Shell | 275 | 85751 | 59375 | 17434 | 8942 |
| Autoconf | 292 | 79558 | 59036 | 11320 | 9202 |
| HICAD | 83 | 42367 | 37992 | 0 | 4375 |
| M4 | 35 | 47772 | 34609 | 8581 | 4582 |
| Rust | 81 | 40214 | 33592 | 1789 | 4833 |
| Bitbake | 182 | 25924 | 22268 | 1742 | 1914 |
| XSL | 32 | 25522 | 21276 | 2691 | 1555 |
| Meson | 271 | 27343 | 20873 | 3786 | 2684 |
| OpenCL | 28 | 21298 | 16540 | 1047 | 3711 |
| Module-Definition | 98 | 18332 | 15954 | 2043 | 335 |
| CMake | 86 | 14661 | 10661 | 2133 | 1867 |
| Visual Studio Project | 35 | 10639 | 10639 | 0 | 0 |
| Happy | 6 | 10511 | 9115 | 0 | 1396 |
| YAML | 94 | 10673 | 9097 | 962 | 614 |
| GLSL | 116 | 12184 | 8126 | 2102 | 1956 |
| Makefile | 178 | 12632 | 7751 | 2948 | 1933 |
| Templ | 8 | 9368 | 7607 | 1542 | 219 |
| Java | 37 | 13525 | 7390 | 4946 | 1189 |
| C++ Module | 1 | 8490 | 6028 | 1244 | 1218 |
| C# | 15 | 7235 | 5977 | 767 | 491 |
| Lua | 11 | 6242 | 5545 | 327 | 370 |
| Batch | 48 | 6303 | 5125 | 359 | 819 |
| D | 121 | 9176 | 4989 | 3515 | 672 |
| TOML | 83 | 3745 | 3170 | 310 | 265 |
| SVG | 9 | 2704 | 2653 | 8 | 43 |
| Mustache | 9 | 2590 | 2330 | 6 | 254 |
| Objective-C++ | 9 | 3303 | 2282 | 590 | 431 |
| Lex | 6 | 3096 | 2253 | 477 | 366 |
| JavaScript | 5 | 2523 | 2128 | 316 | 79 |
| Automake | 37 | 2832 | 2065 | 316 | 451 |
| Ada | 10 | 2841 | 1682 | 560 | 599 |
| CSS | 7 | 2309 | 1629 | 311 | 369 |
| Forge Config | 22 | 3564 | 1505 | 1339 | 720 |
| VBScript | 4 | 2278 | 1449 | 501 | 328 |
| Prolog | 3 | 1357 | 1353 | 0 | 4 |
| PHP | 10 | 1967 | 1085 | 580 | 302 |
| SWIG | 1 | 1225 | 1080 | 28 | 117 |
| Objective-C | 2 | 1694 | 1076 | 393 | 225 |
| Pascal | 4 | 1443 | 1016 | 216 | 211 |
| ReStructuredText | 8 | 1344 | 989 | 0 | 355 |
| R | 2 | 1057 | 975 | 2 | 80 |
| HTML | 10 | 948 | 903 | 4 | 41 |
| AWK | 3 | 1285 | 794 | 395 | 96 |
| LLVM | 1 | 795 | 774 | 0 | 21 |
| Processing | 9 | 845 | 724 | 89 | 32 |
| Visual Studio Solution | 11 | 723 | 715 | 0 | 8 |
| LD Script | 8 | 1072 | 621 | 315 | 136 |
| RPM Specfile | 3 | 616 | 477 | 63 | 76 |
| Metal Shading Language | 1 | 367 | 322 | 2 | 43 |
| ASN.1 | 18 | 707 | 289 | 268 | 150 |
| Lauterbach PRACTICE Script | 6 | 428 | 283 | 62 | 83 |
| BASH | 8 | 464 | 281 | 127 | 56 |
| INI | 11 | 514 | 263 | 186 | 65 |
| Alex | 1 | 277 | 241 | 0 | 36 |
| Bazel | 4 | 320 | 238 | 40 | 42 |
| PowerShell | 3 | 371 | 231 | 98 | 42 |
| MSBuild | 4 | 264 | 206 | 51 | 7 |
| SQL | 5 | 390 | 199 | 150 | 41 |
| HLSL | 3 | 309 | 159 | 102 | 48 |
| VB6/VBA | 1 | 137 | 99 | 14 | 24 |
| Puppet | 2 | 963 | 91 | 346 | 526 |
| GraphQL | 3 | 51 | 51 | 0 | 0 |
| Dockerfile | 3 | 152 | 33 | 96 | 23 |
| Ruby | 2 | 58 | 32 | 16 | 10 |
| Visual Basic | 1 | 60 | 22 | 26 | 12 |
| AsciiDoc | 1 | 10 | 6 | 2 | 2 |
| Poke | 1 | 1 | 1 | 0 | 0 |
| Markdown | 164 | 76647 | 0 | 55088 | 21559 |
| Plain Text | 480 | 88579 | 0 | 79885 | 8694 |
Top language (C 28.3%). Generated at .
VirtualBox/virtualbox has 21,998,201 total lines, including 16,046,794 code lines, 3,773,892 comment lines, and 2,177,515 blank lines.
OctoCounts resolved the public GitHub repository to commit b6bea72111fc, 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 main at commit b6bea72111fc on 2026-10-21T04:06:30.399637358Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for VirtualBox/virtualbox on this page — 16,046,794 code lines across 80 languages, counted by tokei.