# bkaradzic/bgfx SLOC report

> bkaradzic/bgfx: 1,143,685 code lines at commit 3aab3201a949, counted with tokei-15.0.0 on 2026-11-17. Saved result 8d9bdb1c6ccfeacabba9b91ae78375a3d92a617545f6f0063b08ac34515595e2.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 681,916 | 532,098 | 69,693 | 80,125 |
| C Header | 1,120 | 568,094 | 431,310 | 75,043 | 61,741 |
| JSON | 32 | 55,388 | 55,368 | 0 | 20 |
| C++ Header | 34 | 52,726 | 40,925 | 3,200 | 8,601 |
| C | 48 | 44,372 | 39,185 | 3,255 | 1,932 |
| Scala | 452 | 13,121 | 8,518 | 1,878 | 2,725 |
| Lua | 20 | 8,964 | 7,639 | 156 | 1,169 |
| Java | 3 | 14,693 | 6,376 | 7,001 | 1,316 |
| Happy | 1 | 4,807 | 4,589 | 0 | 218 |
| Python | 3 | 6,108 | 3,800 | 1,800 | 508 |
| Shell | 41 | 5,071 | 3,559 | 739 | 773 |
| Zig | 1 | 4,941 | 1,820 | 2,362 | 759 |
| D | 2 | 4,854 | 1,556 | 2,908 | 390 |
| C# | 2 | 6,107 | 1,525 | 3,823 | 759 |
| HLSL | 4 | 1,925 | 1,295 | 307 | 323 |
| C3 | 1 | 4,375 | 1,246 | 2,374 | 755 |
| Objective-C++ | 3 | 1,380 | 1,233 | 18 | 129 |
| Makefile | 57 | 1,320 | 849 | 254 | 217 |
| Bitbake | 2 | 752 | 658 | 0 | 94 |
| XML | 1 | 300 | 136 | 141 | 23 |
| GLSL | 1 | 38 | 0 | 37 | 1 |
| Markdown | 3 | 820 | 0 | 557 | 263 |
| Plain Text | 6 | 2,569 | 0 | 2,081 | 488 |

Top language: C++ 46.5%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/bkaradzic/bgfx/commit/3aab3201a949be0d25e20e5fc2afbb2bee80b906?reportId=8d9bdb1c6ccfeacabba9b91ae78375a3d92a617545f6f0063b08ac34515595e2&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/bkaradzic/bgfx/commit/3aab3201a949be0d25e20e5fc2afbb2bee80b906?reportId=8d9bdb1c6ccfeacabba9b91ae78375a3d92a617545f6f0063b08ac34515595e2&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 bkaradzic/bgfx have?

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.

### How was the bkaradzic/bgfx line count measured?

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.

### What commit was counted for bkaradzic/bgfx?

This OctoCounts report was generated from master at commit 3aab3201a949 on November 17, 2026.

## Similar repository reports

- [telegramdesktop/tdesktop](https://octocounts.com/github/telegramdesktop/tdesktop) — C++, 1,152,611 code lines
- [Ka1-S/LYNX-SHARE](https://octocounts.com/github/Ka1-S/LYNX-SHARE) — C++, 1,163,921 code lines
- [xbmc/xbmc](https://octocounts.com/github/xbmc/xbmc) — C++, 1,123,552 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,166,641 code lines
- [SerenityOS/serenity](https://octocounts.com/github/SerenityOS/serenity) — C++, 1,118,897 code lines
- [lila-3d/Lila](https://octocounts.com/github/lila-3d/Lila) — C++, 1,115,028 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
