We're acquiring the company but nobody has seen the code: what technical due diligence actually checks
Technical due diligence is the review you run before buying a software company, investing in a product, or taking over a supplier's codebase. The question it answers is not "is the code good" but something far more useful: how many people, how much time and how much money will it take to own this for three years? Scope usually lands in six areas. Architecture and data model under growth, the health of the code and its dependencies, security posture, how cloud cost behaves per customer, how concentrated the knowledge is inside the team, and the licensing and regulatory load that transfers with the product. Two to four weeks is typical, with an architect and a security reviewer. The deliverable is not a score. It is a list of risks, each priced in engineer-months, plus a plan for the first 100 days after close.
A finding without a price tag is just an opinion
Most review reports are technically accurate and commercially useless. "Test coverage is low" means nothing at a negotiating table. "Billing and payments have no automated tests, those modules changed 180 times in the last year, and making them safe to touch takes roughly three months with two developers" goes straight into the price.
Give every finding three fields: what is broken, when it bites, and what the fix costs in engineer-months. Drop the third field and you have produced an essay. In practice, a mediocre codebase with tests, clean dependencies and three people who understand it is a better purchase than an elegant one only the founder can explain. The review exists to put a number on that difference.
Stage the access: data room first, repository second
No seller hands over repository access on day one, and none should. A staged sequence keeps the negotiation moving and the trust intact. Start with an NDA and the named individual who will do the review. Then the data room: architecture diagrams, a dependency inventory, twelve months of incident and downtime history, an itemized cloud bill, the open bug list from the tracker, any penetration test reports, and the service level commitments buried in customer contracts.
When repository access arrives, ask for one specific thing: read-only access with the full git history. A frozen snapshot is close to worthless, because most of the signals you want live in the history rather than in today's file tree. Do not ask for production data. A review works fine against a masked copy, and drawing that line yourself tends to speed the whole process up rather than slow it down.
Architecture: the ceiling is rarely CPU
"Will it scale" almost never comes down to server capacity. The constraint usually sits in the data model, in state held where it should not be, and in everything hanging off one database. Four questions separate the real cases. How many places must you touch to change one module? How is one customer's data kept apart from another's? Does the application server hold state in memory, meaning what breaks when you run a second copy? At three times today's load, which query falls over first?
If the answers point toward "this needs a rewrite," slow down. Incremental renewal is the right answer more often than not, and it costs a fraction of starting over. Settling the rewrite versus incremental renewal question during diligence ends an argument that otherwise runs for months after close. If the architecture looks tangled, map where the boundaries actually are before anyone reopens the monolith and microservices debate.
Code health shows up in the git history, not in a snapshot
Overall test coverage percentage is the most decorative number in any seller's deck. Seventy percent coverage is perfectly compatible with the critical modules having none. The signals worth collecting are historical: which files change most often, whether those files have tests, what share of files has a single author, how long a change takes to reach production, and how many minutes the build and test run takes.
Where high change frequency meets absent tests is where your post-close incidents will come from. Finding that intersection needs no expensive tooling, just the commit log. Treat the thousands of warnings produced by static analysis tools with proportionate interest. What matters is not the total volume of technical debt but how much of it sits exactly where your roadmap requires you to work.
Dependencies and licences: the quietest thing you inherit
Third-party components make up most of a modern codebase, and licence problems surface after the money has moved. Ask first for a machine-readable component list, an SBOM. Two formats dominate. SPDX became ISO/IEC 5962 back in 2021, and CycloneDX is published by Ecma as ECMA-424, whose second edition from December 2025 defines CycloneDX version 1.7.
Once the list arrives, check two things. Is there a strong copyleft component sitting inside a proprietary core, and if so, how was the separation drawn? And was this list produced by a process, or generated once for your benefit? For the second question, maturity standards give you a yardstick: ISO/IEC 5230 for open source licence compliance programs and ISO/IEC 18974 for security assurance. Look for the process rather than the certificate. Both licence compliance and supply chain security become your problem the day the deal closes.
Regulatory load is a budget line, not a legal footnote
If the product sells into the European market, the Cyber Resilience Act belongs in the engineering budget. Under Regulation (EU) 2024/2847, reporting duties for actively exploited vulnerabilities and severe incidents took effect on 11 September 2026, while the essential requirements and the CE marking obligation start on 11 December 2027. Annex I asks manufacturers to keep a machine-readable component list covering at least top-level dependencies. Administrative fines reach 15 million euros or 2.5 percent of worldwide annual turnover.
So the practical question is whether the target is on track for that calendar, and if not, how many engineer-months getting there costs. The duty to ship security updates across the product's support period also turns any support commitment into a direct cost line. Local notification duties in your own jurisdiction are a separate matter to work through with legal counsel.
AI-written code is the new line item
One question now belongs in every review: how much of this code was generated by AI, and was it reviewed while it was being written? The 2025 DORA report, published by Google Cloud on 24 September 2025, found that 90 percent of respondents use AI at work and 30 percent report little or no trust in the code it produces. The finding that matters for a buyer is the split: AI adoption showed a positive relationship with delivery throughput and a negative one with delivery stability. Without automated tests, version control discipline and fast feedback, a higher volume of change converts directly into instability.
Asking "do you use AI" gets a yes from everyone, so ask better questions. What was the review rule for generated code? Did the test suite grow or shrink over that period? Can somebody on the team walk you through this module? Reviewing AI-generated code is a discipline in its own right, and if the target has not built it, that is another cost.
People risk can outweigh technical risk
Where the knowledge lives matters more than how the code reads. Pull author distribution from the commit log: what share of the critical modules has a single author, is that person staying after close, and if not, what does the knowledge transfer plan look like?
Check the ownership chain too, because problems found here have no cheap fix. Do the contracts with freelancers and agencies contain an assignment of rights, and do they cover all of the code? Who holds the domain, the DNS, root access to the cloud account, the app store accounts and the signing certificates? Settle source code ownership and escrow before close, because gaps discovered during handover tend to appear precisely when your leverage has run out.
Cost curve and delivery speed
The shape of the cloud bill matters more than its total. When customer count doubles, which lines double and which stay flat? If every customer gets a separate deployment, cost grows linearly and the margin assumption in your model quietly collapses. Do not value the business before reducing the bill to a per-customer figure, because cloud cost is the single largest overlooked item in most software acquisitions.
Delivery speed tells you in advance how long post-close integration will take. Look at four signals: how often they release, how long a change takes to reach production, what share of releases causes a problem, and how quickly a broken system recovers. A team that ships weekly and a team that ships quarterly are not selling you the same asset, even with identical code. That is exactly what DORA metrics are for in a review.
Red flags versus deal breakers
Findings do not carry equal weight. The fixable list is long and looks alarming: missing tests, an outdated framework version, no documentation, inconsistent naming, a manual release process. All of that is money and time, which means it belongs in the price.
The ones that actually stop a deal are different. Ownership of the code is unclear. Nobody can build and deploy the project without the founder. Production keys live with one person. A strong copyleft component sits unseparated inside a proprietary core. Customer contracts carry uncapped penalty clauses tied to service levels the current architecture cannot meet. When one of those five shows up, the answer is not "cut the price" but "write a condition precedent."
What you should hold when the report lands
A good technical due diligence report has three sections: findings that adjust the price, conditions to resolve before close, and the plan for the first 100 days. Every item carries an engineer-month estimate and the assumption that estimate rests on. Then run one final check on closing day. Did account transfers, repository ownership, cloud root access and the domain transfer actually complete? Weeks after the paperwork is signed, that list is still half-finished in most deals.
If an acquisition, investment or takeover is on your agenda, a two to four week review runs entirely remotely and gives you numbers before you sit down to negotiate. If it helps, an hour is usually enough to work out what your current data room can already answer and which access requests you will need next.
Need help with this topic?