The investment estimate

A retrospective estimate of the engineering effort and cost it took to build the software as it exists today, under a given team scenario. This page lists its inputs and outputs and explains why it is given as a range.

The investment estimate answers one question: how much engineering work would it take to build this codebase, as it stands at the analysed commit, with the team described in the team scenario? It is retrospective. It does not estimate future roadmap work, nor the cost of fixing the issues found (on Expert assessments, that is the separate remediation total).

The estimate is included when Economical valuation is selected when the assessment is created. It appears on the assessment page, in the economic report and, as a cost range, on the Evidence Certificate. All amounts are in EUR, while assessments themselves are priced in GBP.

Inputs#

Hours are computed in code. The model contributes a small number of qualitative judgements, and each of those is held within a range derived from measurements (see Model output and its constraints).

Size and language
The base effort comes from the effective lines of code in each language, divided by a typical productivity for that language. Larger codebases need more hours; languages in which a line typically takes longer to write weigh more per line.
Measured structure
The number of infrastructure signals found (for example container, orchestration or infrastructure-as-code files), the average cyclomatic complexity of the code, and the number of dependencies. More of each increases the estimate, with diminishing effect for dependencies.
Architecture, domain, integration and security surface
Four judgements made by the model on a five-point scale: how complex the architecture is, how sophisticated the business domain is, how much integration work the code shows, and how large its security surface is. Before use, each judgement is clamped to a range allowed by the measurements (size, number of languages, files, dependencies, complexity and infrastructure). A small single-language codebase cannot be rated as architecturally very complex, and a large multi-service one cannot be rated as trivial. Higher ratings increase the estimate; the lowest ratings reduce it slightly.
Code quality
The calibrated quality level of the code. Higher quality indicates more effort invested and raises the estimate; lower quality lowers it.
Team scenario
Work mode (from lean start-up to regulated enterprise practice) changes the process overhead. AI adoption reduces hours as the use of AI tools increases. Team location does not change the hours; it sets the hourly rate band used for cost.

Outputs#

Estimated Hours
The total engineering hours, as a single figure.
Complexity
A classification of the project as low, medium, high or very high complexity.
Duration
The estimated project length in months. It follows from the complexity classification and the work mode.
Team Size
The number of full-time people needed to deliver the estimated hours within that duration. Above a maximum team size, the duration is extended instead of adding people.
Team Composition
The roles that make up the team (for example backend developer, frontend developer, DevOps / SRE, QA engineer, tech lead), assigned according to the technology areas detected in the code. The counts add up to the team size.
Estimated Cost
A cost range in EUR: the estimated hours multiplied by the lower and upper ends of the hourly rate band for the selected team location.

On the assessment page these appear in the Investment Estimation card, together with the team scenario that was used. The economic report adds a derivation table for your assessment that shows each step from base hours to the final figure, and states the confidence of the estimate (High, Medium or Low) according to how complete and representative the analysed code is.

Why the cost is a range#

Hours are given as one figure because, for a given codebase and scenario, the computation has one result. Cost is given as a range because hourly rates vary within a region, depending on seniority mix, contract or employment terms and type of engagement. The range expresses that variation; it is not a statistical confidence interval around the hours.

Changing the team scenario changes the result. Two assessments of the same code under different scenarios are expected to differ, and the reports always state the scenario used.