Borehole · Project · free tier
bkaradzic/bgfx
Free reading: not for reliance
ba7b608 · 9,589 commits · 5,196 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturitynot assessable
Security & Reliability Posturestrong
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.3

Commit messages are templated rather than written

adequate

47% 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.

Evidence
1455× 'Cleanup.'
657× 'Updated ImGui.'
250× 'Updated README.'
01.6

3rdparty/spirv-cross/spirv_glsl.cpp is 21,064 lines, 247× this codebase's median file

adequate

The 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.

Evidence
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

adequate
02.3

Tests are absent or token

adequate

0 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.

Evidence
0 test files / 1,886 source files
02.4

Nothing in the history is tagged as a release

adequate

Across 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.

Evidence
0 tags across 9,589 commits and 5316 days
02.24

9% of recent commits change more than 2,000 lines

adequate

68 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.

Evidence
68 commits over 2,000 lines

Product & Engineering Maturity

not assessable
04.5

Effort is shifting from building to rewriting

adequate

Deleted 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.

Evidence
first half 0.42, second half 0.85 (split 2019-07-14)

Security & Reliability Posture

strong
05.27

The build runs third-party code it does not pin

adequate

4 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.

Evidence
.github/workflows/main.yml:43 — action pinned by tag
.github/workflows/main.yml:103 — action pinned by tag
05.9

1 vendored component with no licence

adequate

Third-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.

Evidence
3rdparty/d3d4linux — 7 tracked files, no licence file

Observability & Operations

not assessable

Not 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 assessable

Not 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.