# VirtualBox/virtualbox SLOC report

> VirtualBox/virtualbox: 16,046,794 code lines at commit b6bea72111fc, counted with tokei-15.0.0 on 2026-11-01. Saved result 4dac1c59adde338241e185a649ff92d4e103fa2552fb41ea6a0b72c0c7efe6b4.

VirtualBox/virtualbox has 16,046,794 source lines of code out of 21,998,201 total lines across 42,017 files, counted with tokei from the main ref at commit b6bea72111fc on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving VirtualBox/virtualbox to commit b6bea72111fc, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

VirtualBox/virtualbox: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

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 | 12,170 | 6,591,283 | 4,538,211 | 1,265,982 | 787,090 |
| C Header | 19,183 | 6,064,410 | 4,068,316 | 1,402,772 | 593,322 |
| C++ | 4,254 | 3,823,115 | 2,665,996 | 712,353 | 444,766 |
| TypeScript | 85 | 1,348,582 | 1,348,063 | 0 | 519 |
| XML | 244 | 940,160 | 928,287 | 4,778 | 7,095 |
| GNU Style Assembly | 480 | 612,066 | 534,468 | 10,771 | 66,827 |
| Perl | 709 | 542,691 | 432,644 | 51,483 | 58,564 |
| JSON | 56 | 304,113 | 304,080 | 0 | 33 |
| C++ Header | 175 | 360,877 | 301,046 | 12,968 | 46,863 |
| Python | 776 | 407,701 | 300,135 | 48,608 | 58,958 |
| Assembly | 754 | 238,258 | 167,208 | 49,521 | 21,529 |
| Shell | 275 | 85,751 | 59,375 | 17,434 | 8,942 |
| Autoconf | 292 | 79,558 | 59,036 | 11,320 | 9,202 |
| HICAD | 83 | 42,367 | 37,992 | 0 | 4,375 |
| M4 | 35 | 47,772 | 34,609 | 8,581 | 4,582 |
| Rust | 81 | 40,214 | 33,592 | 1,789 | 4,833 |
| Bitbake | 182 | 25,924 | 22,268 | 1,742 | 1,914 |
| XSL | 32 | 25,522 | 21,276 | 2,691 | 1,555 |
| Meson | 271 | 27,343 | 20,873 | 3,786 | 2,684 |
| OpenCL | 28 | 21,298 | 16,540 | 1,047 | 3,711 |
| Module-Definition | 98 | 18,332 | 15,954 | 2,043 | 335 |
| CMake | 86 | 14,661 | 10,661 | 2,133 | 1,867 |
| Visual Studio Project | 35 | 10,639 | 10,639 | 0 | 0 |
| Happy | 6 | 10,511 | 9,115 | 0 | 1,396 |
| YAML | 94 | 10,673 | 9,097 | 962 | 614 |
| GLSL | 116 | 12,184 | 8,126 | 2,102 | 1,956 |
| Makefile | 178 | 12,632 | 7,751 | 2,948 | 1,933 |
| Templ | 8 | 9,368 | 7,607 | 1,542 | 219 |
| Java | 37 | 13,525 | 7,390 | 4,946 | 1,189 |
| C++ Module | 1 | 8,490 | 6,028 | 1,244 | 1,218 |
| C# | 15 | 7,235 | 5,977 | 767 | 491 |
| Lua | 11 | 6,242 | 5,545 | 327 | 370 |
| Batch | 48 | 6,303 | 5,125 | 359 | 819 |
| D | 121 | 9,176 | 4,989 | 3,515 | 672 |
| TOML | 83 | 3,745 | 3,170 | 310 | 265 |
| SVG | 9 | 2,704 | 2,653 | 8 | 43 |
| Mustache | 9 | 2,590 | 2,330 | 6 | 254 |
| Objective-C++ | 9 | 3,303 | 2,282 | 590 | 431 |
| Lex | 6 | 3,096 | 2,253 | 477 | 366 |
| JavaScript | 5 | 2,523 | 2,128 | 316 | 79 |
| Automake | 37 | 2,832 | 2,065 | 316 | 451 |
| Ada | 10 | 2,841 | 1,682 | 560 | 599 |
| CSS | 7 | 2,309 | 1,629 | 311 | 369 |
| Forge Config | 22 | 3,564 | 1,505 | 1,339 | 720 |
| VBScript | 4 | 2,278 | 1,449 | 501 | 328 |
| Prolog | 3 | 1,357 | 1,353 | 0 | 4 |
| PHP | 10 | 1,967 | 1,085 | 580 | 302 |
| SWIG | 1 | 1,225 | 1,080 | 28 | 117 |
| Objective-C | 2 | 1,694 | 1,076 | 393 | 225 |
| Pascal | 4 | 1,443 | 1,016 | 216 | 211 |
| ReStructuredText | 8 | 1,344 | 989 | 0 | 355 |
| R | 2 | 1,057 | 975 | 2 | 80 |
| HTML | 10 | 948 | 903 | 4 | 41 |
| AWK | 3 | 1,285 | 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 | 1,072 | 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 | 76,647 | 0 | 55,088 | 21,559 |
| Plain Text | 480 | 88,579 | 0 | 79,885 | 8,694 |

Top language: C 28.3%. Generated on November 1, 2026. Canonical report: https://octocounts.com/github/VirtualBox/virtualbox/commit/b6bea72111fcff48f31c57c9f66365b1d3301bb9?reportId=4dac1c59adde338241e185a649ff92d4e103fa2552fb41ea6a0b72c0c7efe6b4&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/VirtualBox/virtualbox/commit/b6bea72111fcff48f31c57c9f66365b1d3301bb9?reportId=4dac1c59adde338241e185a649ff92d4e103fa2552fb41ea6a0b72c0c7efe6b4&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does VirtualBox/virtualbox have?

VirtualBox/virtualbox has 16,046,794 lines of code, plus 3,773,892 comment lines and 2,177,515 blank lines, for 21,998,201 total lines at commit b6bea72111fc on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the VirtualBox/virtualbox line count measured?

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.

### What commit was counted for VirtualBox/virtualbox?

This OctoCounts report was generated from main at commit b6bea72111fc on November 1, 2026.

## Similar repository reports

- [DeusData/codebase-memory-mcp](https://octocounts.com/github/DeusData/codebase-memory-mcp) — C, 14,326,096 code lines
- [openbsd/src](https://octocounts.com/github/openbsd/src) — C, 20,711,629 code lines
- [Maccraft123/linux-duet](https://octocounts.com/github/Maccraft123/linux-duet) — C, 21,512,207 code lines
- [freebsd/freebsd-src](https://octocounts.com/github/freebsd/freebsd-src) — C, 22,335,858 code lines
- [gcc-mirror/gcc](https://octocounts.com/github/gcc-mirror/gcc) — C, 11,433,684 code lines
- [ARARAT33/AWEOS](https://octocounts.com/github/ARARAT33/AWEOS) — C, 32,335,471 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
