Read 2026-11-07
bkaradzic/bgfx: technical due diligence, read from its repository
What Borehole read in bkaradzic/bgfx's code and history at ba7b608: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | not assessable |
| Security & Reliability Posture | strong |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate47% of commit subjects are exact repeats of another subject, and subject length varies by only 22.6 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 1455× 'Cleanup.' |
| 657× 'Updated ImGui.' |
| 250× 'Updated README.' |
3rdparty/spirv-cross/spirv_glsl.cpp is 21,064 lines, 247× this codebase's median file
adequateThe median source file here is 85 lines. 211 files exceed 1,000 lines, the largest being 21,064. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
3rdparty/spirv-cross/spirv_glsl.cpp:1 — 21,064 lines (247× median) |
3rdparty/spirv-cross/spirv_msl.cpp:1 — 20,967 lines (246× median) |
3rdparty/dear-imgui/imgui.cpp:1 — 18,306 lines (215× median) |
3rdparty/dawn/src/tint/lang/wgsl/intrinsic/data.cc:1 — 17,379 lines (204× median) |
3rdparty/dawn/src/tint/lang/core/intrinsic/data.cc:1 — 17,086 lines (201× median) |
Engineering Process & SDLC Maturity
adequateTests are absent or token
adequate0 test files against 1,886 source files (0.0%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 0 test files / 1,886 source files |
Nothing in the history is tagged as a release
adequateAcross 14.6 years of history there is not one tag. There may still be a deployment process, but this repository holds no record of what shipped when — which is the record a buyer needs to reconstruct an incident or a regression after the fact.
| 0 tags across 9,589 commits and 5316 days |
9% of recent commits change more than 2,000 lines
adequate68 of 729 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 68 commits over 2,000 lines |
Product & Engineering Maturity
not assessableEffort is shifting from building to rewriting
adequateDeleted lines per line added rose from 0.42 to 0.85 between the first and second halves of this history. Rework is normal and often healthy, but a rising ratio means an increasing share of the team's time is spent replacing code that already exists rather than building what does not. Whether that is deliberate repayment or churn is a question for the team.
| first half 0.42, second half 0.85 (split 2019-07-14) |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate4 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/main.yml:43 — action pinned by tag |
.github/workflows/main.yml:103 — action pinned by tag |
1 vendored component with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
3rdparty/d3d4linux — 7 tracked files, no licence file |
Observability & Operations
not assessableNot rated: only 4 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on bkaradzic/bgfx: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.