The technical debt audit
we run before any takeover
Forty questions we answer before quoting a codebase rescue. It has saved clients from buying two genuinely terrible codebases, and it might save you from one.
Why audits come before quotes
A client once asked us to finish a half-built platform for a flat fee. The repo looked tidy until question six: tests existed but had all been commented out to make CI pass. That is not technical debt, that is a loan shark. The audit exists so nobody signs a fixed quote on a guess.
About a third of our work starts as a takeover, so the checklist has been refined across forty-something codebases. It is opinionated, sometimes harsh, and it has never once been wrong about a repo that failed it badly.
The four areas we score
The checklist covers four zones. Code health: can a stranger find anything, does the style stay consistent, are there files nobody dares open. Test posture: do tests exist, do they run, do they mean anything. Operations: how does this thing deploy, who watches it at night. Bus factor: does the knowledge live in the repo or in someone's head.
Each area scores green, amber or red, and the reds get priced into the quote honestly. A codebase can survive two red zones; three means we recommend a rebuild and say why.
We have never regretted charging for an audit. We have regretted the ones we skipped.
The worst outcome of an audit is not a bad score. It is a bad codebase bought cheap and rescued slowly at ten times the cost.
Steal the checklist
The abridged version, in order of how often each item burns us:
- Do the tests actually run in CI, and when did they last go red?
- Can anyone deploy besides one specific person?
- Are dependencies updated in the last 12 months, or is there a lockfile from another era?
- Is there a README that a new hire could follow to running state?
If a vendor refuses an audit, that refusal is itself an answer. Healthy codebases survive scrutiny; the ones that do not are usually priced to reflect it.
What happens after the audit
Every audit ends in a written report: scores, evidence, and a recommendation with a number attached. Roughly a quarter of audited codebases get a clean bill and the client takes them elsewhere, which we count as a win anyway.
If you want us to run one on your codebase, the QA and support team handles audits as a fixed-fee engagement, currently priced well under the cost of one bad surprise.
Daniel has been taking over other people's code since 2011. He writes the audit checklist this article is about, and he is the reason question seventeen exists.
Sitting on a codebase you do not trust?
Our audit is a fixed-fee, five-day engagement with a written verdict at the end.