Code scanning vs technology due diligence

Percomb is our product, a diligence platform rather than a code scanner, so we sell on one side of this comparison. The page compares two kinds of work and names no other vendor.

A scan measures the code, while a technology due diligence asks whether the technology case behind a deal holds, with the code as one of several witnesses.

Which one a deal needs

A code scan is enough when the product is the code and little else, the deal is small, or you need a fast, repeatable read of a codebase before deciding whether to go further.

A full technology due diligence is needed when the price depends on what management says about the product, the team, security, architecture or operations, or when a committee, a lender or an insurer will rely on the conclusion.

Use both on a larger deal: the scan as an early read and as evidence, the diligence to test the case around it.

What a code scan covers

Depending on the tool, a scan of the repositories reports on maintainability and complexity, duplication, security weaknesses in the code, third-party components with their licenses and known vulnerabilities, commit activity and an estimate of technical debt, often as a score compared with other codebases.

Its strengths are speed and repeatability: it measures every codebase the same way, in hours or days, and finds things a person reading samples of the code would miss. It is bounded by the repository, so it does not read the contracts, meet the team or know what the memorandum promised.

What a full technology due diligence covers

A technology due diligence starts from the deal's thesis, collects evidence through a request list, hears from management in sessions and checks each claim against the evidence. The code is one of its six strands.

DocumentsManagement claimsTeamSecurityArchitectureCodeA full technology due diligencereads all six strandsA code scan reads the code in depthand the rest only as the code shows itA finding between thedocuments and the code
A code scan and a full technology due diligence, strand by strand
A code scanA full technology due diligence
DocumentsNot read, unless they sit in the repositoryArchitecture documents, policies, contracts, hosting bills, roadmaps and reports, read against the review areas
Management claimsNot testedEach claim in the memorandum and the management sessions checked against the evidence
TeamContributors and commit activityStructure, key people and their retention, hiring plans, and whether the commit history bears out the stated team
SecurityWeaknesses in the code and in its dependenciesPolicies, test reports, incident history, access control and certifications, as well as the code
ArchitectureThe structure and complexity of the codeWhether the design will carry the growth plan, at what hosting cost, and with which single points of failure
CodeMeasured in depth, file by fileRead for history, ownership, dependencies and licenses, often with a scan as one input
What you receiveScores, dashboards and findings at file levelFindings by review area, rated and each tied to its source, with the open questions listed as requests
Who stands behind itThe team that reads the output, sometimes with the vendor's expertsA named reviewer or firm who signs the conclusion

Where a scan alone falls short

The findings that move a price often sit between the code and the documents:

  • A team smaller than described. The memorandum counts fourteen engineers and the commit history shows four people committing in the last quarter. A scan sees the four, and only a review that also reads the memorandum notices the gap.
  • A license that matters because of a contract. A copyleft component is a scan finding, but whether it is a problem depends on how the product is distributed and what the customer contracts promise.
  • Security beyond the code. A clean scan says nothing about access reviews, incident handling or the last penetration test, which sit in the policies and the reports.
  • An architecture that costs more with every customer. Tidy code can sit on a hosting design whose bill grows faster than revenue, which shows in the bills and the architecture documents.

When a scan is enough

A scan on its own is a reasonable choice for:

  • Screening, before exclusivity, to decide whether the code justifies a full review.
  • A small deal where the product is the code, and the contracts, team and operations are simple.
  • One specific question, such as the license exposure of a product distributed to customers.
  • A seller checking its own code before a sale process starts.
  • A periodic health check on a portfolio company after close.

How they combine

In sequence. An early scan gives a quick read of the code and shows where to look, and the full diligence follows in exclusivity with the scan's results as one of its inputs.

As evidence. A scan report the target already has, or one you commission, is a document like any other, cited beside the architecture documents and the commit history.

Each answering the other's question. A scan that flags a copyleft component sends the diligence to the distribution model and the customer contracts, and a diligence that finds no recent security testing may justify commissioning a scan or a penetration test.

Where Percomb fits

Percomb is a platform for the full technology due diligence. It reads the target's documents and meeting transcripts across twelve review areas, marks each management claim Supported, Partly supported, Contradicted or No evidence, and cites every finding to a page, a line range, a transcript timestamp, or files and the date of the code extract.

Its code strand is narrower than a scan, by design. The target can connect its private GitHub repositories read-only, or its engineers run an extractor inside their own network and send plain-text measurements (commit history, the file inventory, the language mix, dependency manifests and an offline open source review), and the extract carries no source code. A public repository can also be connected by its URL. Percomb reads the commit history against what the documents claim about team size, tenure, delivery cadence and vulnerabilities, and it does not produce a maintainability score or line-level security findings in first-party code.

For those measurements, run a scan and file its report in the project, where it is read and cited with everything else. The source code due diligence page covers the extract.

Questions

Frequently asked questions

Is a code scan the same as technical due diligence?

No. A scan measures the code, and a technical due diligence tests the whole technology case, with the code as one source of evidence among several.

Can a code scan replace the management sessions?

No. A scan cannot ask a question or hear an answer, but it can tell you which questions to ask: a key person in the commit history, a component whose license is worth discussing, a part of the code nobody has touched in years.

Does a technology due diligence include a code scan?

Often, but not always. Some reviews run or commission a scan, and others read the code through its history, dependencies and licenses; ask which, because it changes what the code findings can say.

Which comes first?

Usually the scan, where there is one, because it is quick and helps scope the review. The full diligence runs in exclusivity, when the target shares its documents and management makes time for sessions.

Can we use a code scan's report in Percomb?

Yes. File the report in the project as an analyst file, under Other materials, where it is analyzed and cited like any other document.

See a full review on a finished deal

The interactive tour runs a fictional deal from the first request to the issued report in about four minutes, or you can get a private copy with a finished project inside it.