What technical due diligence should actually examine

Technical due diligence should answer one question: what it will cost, in money, time and people, to make this technology do what the investment case assumes. Everything the review examines should serve that question.

By Nabil Ahmed7 minute read

The lunar surface near 2°S, 69°E, lit by a low Sun with night falling across one side.
The Moon near 2°S, 69°E. Rendered by Farside from NASA Lunar Reconnaissance Orbiter elevation data.

Technical due diligence is often carried out as an inspection of code quality. A reviewer runs a static analysis tool and samples some files. After counting the tests, the reviewer writes a report describing the code base as of "average quality with some technical debt", which gives the buyer nothing it can price.

Technical due diligence is the independent examination of a company's technology before an acquisition or investment, or before a major partnership, to establish whether the technology can support the plan that the money depends on. The second half of that definition tends to get lost. A tidy code base that cannot cope with ten times the current customers is a problem if the plan relies on growth, whereas an untidy one running a stable, profitable product that no one intends to change may be fine.

We think diligence should start from the investment case and work backwards. The plan rests on assumptions about the product, for instance that it can be sold to larger customers or that two products can be merged. Others concern the business, such as falling costs and a team that stays. Each of these is a claim about technology that can be tested against evidence, and the report should state which assumptions hold and which do not, along with what it would cost to make the failing ones hold.

In brief

  • Technical due diligence is useful when it tests the specific assumptions in the investment case, and of little use when it grades code quality in the abstract.
  • The best single indicator of a technology organization's health is how it changes production, in particular how often and how safely it releases and how many people are able to do so.
  • Evidence taken from systems, such as repository history, deployment logs, incident records and cloud bills, is worth more than any presentation or interview.
  • Dependence on key people and unclear ownership of code and data turn up more often than poor code does, and they cost more.
  • Each finding should be expressed as a cost or duration or as a risk to a named assumption, so that it can be reflected in the price and terms or in the plan for the first hundred days.

Start from the investment case

Before you ask for any access, write down what the deal assumes about the technology. Typical assumptions include these:

  • The product can serve customers several times larger than today's.
  • Gross margin will improve as volume grows.
  • The product can be integrated with the acquirer's platform within a year.
  • The current team can deliver the roadmap that the forecast depends on.
  • No ownership, licensing or security problems will surface after closing.

Each line then becomes a question with an evidence request attached, which keeps the work short. Diligence windows last days or a few weeks and access is always partial, so a reviewer without a list of assumptions tends to spend the window reading whatever is easiest to obtain.

The six areas, and the evidence for each

The table sets out, for each area, what to ask for and the pattern that should concern you.

Area Evidence to request What should worry you
Ability to change Deployment history, pipeline configuration, a build from a clean checkout, change failure and rollback records Releases are rare and large; only one or two people can deploy; the build needs steps that are not written down
Architecture against the plan Architecture walk-through with engineers, data model, tenancy model, load test results, known limits The architecture in the sales material differs from the one in the repository; scaling limits sit in the database design
Ownership and licensing Contributor agreements, contractor contracts, dependency inventory with licenses, third-party service contracts Code written by contractors with no assignment of rights; copyleft-licensed components linked into a distributed proprietary product; a critical dependency on a single supplier with unfavorable terms
Security and data Access model, secrets handling, patch state of dependencies, penetration test reports, data inventory, incident history Shared administrator accounts; secrets in the repository; no record of what personal data is held or where
Operations and cost Cloud bills by service over time, monitoring and alerting, incident reports, backup and restore test records Cost grows faster than usage; backups exist but a restore has never been tested; customers find incidents first
People and knowledge Commit history by author and component, on-call rota, documentation, interviews with engineers below the leadership level Whole components touched by only one person; the people who know the system are not tied to the deal

On method, prefer records that systems generate over documents written for the diligence, because a deployment log cannot be tidied up the week before. Talk to the engineers who do the work as well as the CTO, and ask them what they would fix first if given three months, since their list is usually accurate and usually longer than the management presentation suggests.

Ability to change is the lead indicator

If there is time for only one deep examination, it should be this one. Ask an engineer to start from a clean machine and to check out and build the code. Then watch as they run the tests and deploy to a test environment. In a healthy organization the exercise takes an hour or two, and if it takes a day or cannot be completed, you have learned more than any document would tell you.

The reason is that new features and larger customers require change just as integration and cost reduction do, and so does every other item in the investment case. An organization that can release small changes safely and often can fix its other weaknesses over time. One that releases rarely and nervously will struggle to fix anything, and the timeline in the plan will slip to match.

Look at the tests as part of this, paying attention to what they protect rather than how many there are. A suite that runs on every change and blocks a bad release is an asset, while a large suite that people ignore when it fails adds little. The discipline that makes frequent releases safe is covered in a test strategy for systems that change every week, and a weak result here usually points to quality engineering work after closing.

The multi-tenant product that was not

Consider a private equity buyer examining a software company that sells a scheduling product to logistics operators. The investment case assumes fast customer growth with an improving margin, because the product is "multi-tenant software as a service".

The diligence team asks for the tenancy model and the cloud bill by service. The repository shows a single code base, but in the infrastructure each customer runs on its own database and application servers with its own deployment, all provisioned by hand from a checklist. Several large customers run a version with customer-specific changes kept on long-lived branches. Two engineers carry out every deployment, and upgrading all customers to a new release takes weeks.

The seller has not misrepresented anything, since single-tenant deployment is a legitimate design and some customers insist on it. The investment case, however, assumed that adding a customer costs almost nothing and that every customer receives every release. The evidence shows instead that each new customer adds infrastructure cost and operational effort in proportion, and that the customer-specific branches slow every release down.

The finding is then put into terms the deal team can act on. The margin assumption does not hold without re-engineering, and the work required is known: automating provisioning with infrastructure as code, merging the customer branches behind configuration flags, and consolidating smaller customers onto shared infrastructure. That amounts to a program of several quarters for a team of a stated size, which produces a cost. Because it depends on two named engineers, it also produces a retention requirement. The buyer can then adjust the price or restructure the terms, or else proceed with the program built into the plan, whereas a report stating "architecture: moderate technical debt" would have supported none of those decisions.

Turning findings into something the deal can use

Every finding should be sorted into one of three classes.

Findings that break the deal. These are facts that invalidate the case or cannot be fixed at reasonable cost, such as the company not owning its core code, a license obligation that conflicts with the business model, or a breach that has gone undisclosed. They are rare, and they should reach the deal lead on the day they are found, well ahead of the final report.

Items to be priced. These are problems with a known fix. For each one, state the fix and its rough effort and duration as well as its dependencies, giving ranges where precision would be false. They feed into the valuation and the first-year budget.

Items for the plan. These are weaknesses that leave the price unchanged but must be dealt with early, for example a restore that has never been tested, a single person holding all the deployment knowledge, or a dependency that is several major versions behind. Together they form the technology plan for the first hundred days.

Whatever the class, each finding should name the assumption it affects.

Old technology does not count as a finding by itself. A stable system on an unfashionable stack may be the most valuable thing the company owns, as we argue in your legacy system is an asset with a maintenance problem, and the question is whether it can be maintained and changed, and by whom. Where the answer is no, the priced item is usually an incremental application modernization in preference to a rewrite.

What diligence cannot tell you

A review lasting two or three weeks sees only a sample. It cannot certify that no security flaws exist and can only report what was examined and what was found. It cannot predict whether the key engineers will stay, although it can show how much depends on them, and it reads the present state of a system that will change the day after closing.

Access is also negotiated. Sellers sometimes limit source code access to a supervised session or decline to share incident records, and each such restriction should be recorded in the report as a limitation. A refusal does not prove there is a problem, but an assumption that could not be tested remains untested, and the buyer should know which ones those are.

Finally, the reviewer should be independent of anyone who benefits from the deal closing or from the remediation work that follows. When the same firm stands to win the rebuild, its estimate of how much rebuilding is needed deserves a second opinion. An independent review is worth its fee only if the reviewer is free to conclude that the technology is fine.

What to do next

If you are about to commission or run a technical due diligence, prepare the following before the access window opens.

  1. Write the technology assumptions of the investment case as a numbered list of plain sentences, and agree them with the deal lead.
  2. For each assumption, name the evidence that would confirm or refute it, using the table above as a starting point.
  3. Send the evidence request early and ask for system records such as repository access or history, deployment logs, cloud bills, incident reports and dependency inventories.
  4. Schedule the clean build and deploy exercise and interviews with at least two engineers outside the leadership team.
  5. Ask for a walk-through of the production cloud architecture alongside the bill, so that cost can be tied to design.
  6. Require the report to classify every finding as a deal breaker, a priced item or a plan item tied to an assumption, and to list untested assumptions separately.

Related services

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy