Read 2026-10-04
codeberg.org/freeyourgadget/gadgetbridge: technical due diligence, read from its repository
What Borehole read in codeberg.org/freeyourgadget/gadgetbridge's code and history at 03ee088: 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 | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
What the repository says
CONTRIBUTING.md:14: states a policy on AI-generated contributions.gitmodules:1: 2 submodule(s) this survey does not read: external/jerryscript, external/fossil-hr-gbapps
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate40% of commit subjects are exact repeats of another subject, and subject length varies by only 25.4 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.
| 467× 'Translated using Weblate (German)' |
| 436× 'Translated using Weblate (Czech)' |
| 429× 'Translated using Weblate (Chinese (Simplified))' |
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/Config.java is 16,353 lines, 204× this codebase's median file
adequateThe median source file here is 80 lines. 105 files exceed 1,000 lines, the largest being 16,353. 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.
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/Config.java:1 — 16,353 lines (204× median) |
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/PeripheralLightApp.java:1 — 10,806 lines (135× median) |
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/Factory.java:1 — 10,392 lines (129× median) |
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/PeripheralFactory.java:1 — 9,265 lines (115× median) |
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/proto/igpsport/Back.java:1 — 5,372 lines (67× median) |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate253 test files against 4,174 source files (6.1%). 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.
| 253 test files / 4,174 source files |
Product & Engineering Maturity
adequate12% of bug fixes add or change a test
adequateOf 714 fixes in the last 24 months, 89 touched a test. A fix without the test that would have caught the bug can quietly come back, and the suite never learns from what went wrong.
| 89 of 714 |
Security & Reliability Posture
adequateThe app allows plain HTTP to any server
adequateThe app's manifest allows unencrypted HTTP app-wide (NSAllowsArbitraryLoads, or cleartext traffic permitted), rather than for named domains. Anything sent over plain HTTP can be read on the network, and enterprise security reviews ask about it. Some apps need it by nature (a podcast or feed reader fetches whatever URL a feed gives), so ask which case this is.
app/src/main/res/xml/network_security_config.xml:3 — cleartext allowed app-wide |
3 vendored components 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.
external/build_fossil_hr_gbapps.sh — 1 tracked files, no licence file |
external/pack.py — 1 tracked files, no licence file |
external/patches — 1 tracked files, no licence file |
Observability & Operations
not assessableNot rated: only 5 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 codeberg.org/freeyourgadget/gadgetbridge: 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.