TL;DR
  • PE firms buy companies, not code — but bad code kills margins
  • Score 8 dimensions: architecture, dependencies, security, ops, team, docs, tests, debt
  • Always interview the engineers, not just the CTO
  • Check the commit graph for truck factor
  • Red flags are often in what’s not there

Private equity firms don’t buy software. They buy businesses. But the software determines the margin profile of every SaaS acquisition. A well-run technical due diligence de-risks the deal and informs the post-close value creation plan.

Phase 01 · Architecture

Is the system coherent or accidental?

Read the architecture decision records if they exist. If they don’t, that’s a finding. Map the service boundaries, data flows, and third-party dependencies. Coherent architectures can be scaled; accidental ones become sinkholes.

Phase 02 · Dependencies

What’s under the hood?

Count the direct and transitive dependencies. Check for unmaintained libraries. Look for licence incompatibility. Count how many core features depend on a single vendor (and the vendor’s health). Dependency risk is usually invisible until it bites.

Phase 03 · Security & compliance

What’s the blast radius of a breach?

Authentication model. Secrets management. PII handling. Audit logs. Compliance posture against the frameworks their customers require (SOC 2, ISO 27001, HIPAA). Unfixable compliance gaps can kill deal economics.

Phase 04 · Team

Who actually built this, and are they still here?

The commit graph tells the truth. If 80% of the code was written by two engineers and both left, you have a truck-factor problem. Interview the engineers who’re still on the team — not just the CTO’s narrative.

  • Check git blame distribution
  • Ask engineers about their three biggest incidents
  • Review the last 10 post-mortems
  • Assess docs quality (it correlates with everything else)

This is the framework we run during Legacy Modernization engagements with PE and portfolio companies.