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.
As of 2026-10-21 (commit b6bea72111fc), VirtualBox/virtualbox contains 21,998,201 total lines: 16,046,794 code, 3,773,892 comments, 2,177,515 blank, across 42,017 files in 80 languages (top: C 28.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.399637358+00:00.
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 12 languages, counted by tokei.