VirtualBox/virtualbox has 16,045,810 source lines of code out of 21,997,024 total lines across 42,014 files, counted from the main ref at commit 32f5f1de3fe1 by the OctoCounts tokei engine on 2026-10-09. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-09 (commit 32f5f1de3fe1), VirtualBox/virtualbox contains 21,997,024 total lines: 16,045,810 code, 3,773,828 comments, 2,177,386 blank, across 42,014 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 32f5f1de3fe1, 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 | 6591026 | 4538002 | 1265971 | 787053 |
| C Header | 19183 | 6064328 | 4068274 | 1402736 | 593318 |
| C++ | 4253 | 3822952 | 2665890 | 712308 | 444754 |
| 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 | 753 | 238188 | 167189 | 49475 | 21524 |
| Shell | 275 | 85774 | 59244 | 17595 | 8935 |
Top language (C 28.3%). Generated at .
VirtualBox/virtualbox has 21,997,024 total lines, including 16,045,810 code lines, 3,773,828 comment lines, and 2,177,386 blank lines.
OctoCounts resolved the public GitHub repository to commit 32f5f1de3fe1, 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 32f5f1de3fe1 on 2026-10-09T00:10:30.472878495+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,045,810 code lines across 12 languages, counted by tokei.