bkaradzic/bgfx has 1,143,685 source lines of code out of 1,484,641 total lines across 2,678 files, counted with tokei from the master ref at commit 3aab3201a949 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-17 (commit 3aab3201a949), bkaradzic/bgfx contains 1,484,641 total lines: 1,143,685 code, 177,627 comments, 163,329 blank, across 2,678 files in 23 languages (top language: C++ 46.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bkaradzic/bgfx to commit 3aab3201a949, 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.
This is a very large codebase by counted code lines. Code represents 77.0% of all lines, comments represent 12.0%, and the repository averages 427 code lines per file. C++ accounts for 46.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 841 | 681916 | 532098 | 69693 | 80125 |
| C Header | 1120 | 568094 | 431310 | 75043 | 61741 |
| JSON | 32 | 55388 | 55368 | 0 | 20 |
| C++ Header | 34 | 52726 | 40925 | 3200 | 8601 |
| C | 48 | 44372 | 39185 | 3255 | 1932 |
| Scala | 452 | 13121 | 8518 | 1878 | 2725 |
| Lua | 20 | 8964 | 7639 | 156 | 1169 |
| Java | 3 | 14693 | 6376 | 7001 | 1316 |
| Happy | 1 | 4807 | 4589 | 0 | 218 |
| Python | 3 | 6108 | 3800 | 1800 | 508 |
| Shell | 41 | 5071 | 3559 | 739 | 773 |
| Zig | 1 | 4941 | 1820 | 2362 | 759 |
Top language: C++ 46.5%. Generated on .
bkaradzic/bgfx: 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.
bkaradzic/bgfx has 1,143,685 lines of code, plus 177,627 comment lines and 163,329 blank lines, for 1,484,641 total lines at commit 3aab3201a949 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 3aab3201a949, 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 3aab3201a949 on November 17, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for bkaradzic/bgfx on this page — 1,143,685 code lines across 23 languages, counted by tokei.