Static evidence

The measurements Codeego takes from the code without a language model, the kind of tool that produces each one, and how each measurement is used in scoring and estimation.

Static evidence is information obtained by reading files, without running the code and without a language model. It is deterministic: the same files produce the same values. Static evidence has three uses in an assessment. It bounds the dimension scores proposed by the model, it bounds the complexity signals, and it supplies the size measures from which the investment estimate is computed.

Codeego does not execute your code or your tests. Every measurement below is taken from the source files as they are.

Size and structure#

Lines of code per language
A line counter that assigns files to languages by extension and counts non-blank lines, separately for source and test code. Dependency, build and virtual-environment directories (for example node_modules, dist, venv) are excluded. Used as the size baseline of the investment estimate and to set the ranges for the complexity signals.
File count
The number of files in the analysed tree after the same exclusions. Used, with the language count, to set the range for architectural complexity.
Test-to-source ratio
Test files are identified by convention: test directories (tests, test, __tests__, spec) and file names such as test_*.py, *_test.py, *.test.ts or *.spec.js. The ratio of test files to source files sets a ceiling on the test coverage score when it is low and a floor when it is high. It is a proxy for testing effort, not a measured line coverage.
Cyclomatic complexity
A cyclomatic complexity analyser (radon) computes the average complexity of functions and methods in Python code. A high average caps the code quality score; a low average sets a floor. It also informs the domain complexity range and the investment estimate.

Security#

Security pattern findings
A pattern-based security scanner (Semgrep, with its curated multi-language rule set) counts findings of warning or error severity. Test files, migrations and container definitions are excluded, so that findings reflect application code. A high count caps the security score; none or very few set a floor. If the scan cannot complete, for example on a very large tree, no security bound is applied.
Malware scan
Uploaded archives are scanned with ClamAV during extraction. The scan protects the analysis environment and is not part of the score.

Engineering practice#

README
Detection of a README file at the root of the code. Without one, the documentation score is capped at a low value; with one, it has a modest floor.
Linter configuration
Detection of configuration for common linters (for example ESLint, Ruff, Flake8, Pylint, golangci-lint, RuboCop). Without it, the code quality score cannot reach the upper bands.
CI configuration
Detection of continuous integration configuration (GitHub Actions, GitLab CI, Jenkins, CircleCI, Travis CI, Taskfile). Its absence caps the observability and operations score; its presence sets a floor.

Dependencies and infrastructure#

Dependency count
A manifest parser counts declared dependencies in requirements.txt, pyproject.toml, package.json, go.mod and Cargo.toml. Used to set the integration complexity range and as a factor in the investment estimate.
Infrastructure signals
File detection for Docker (Dockerfile, Compose files), Kubernetes manifests, Terraform (*.tf) and CI/CD configuration. Used to set the architectural, integration and security surface ranges, and as a factor in the investment estimate.

Technology facts#

When the assessment includes priced recommendations, a further step collects technology facts. These are used to price recommendations, not to bound scores.

Component versions
A version detector reads manifests, lockfiles and Dockerfile base images to identify runtimes (Node.js, Python, Go, Java, PHP, Ruby, .NET) and frameworks with their versions.
End-of-life status
Detected versions are compared with a bundled snapshot of public end-of-life data (endoflife.date), which gives the support status and the end-of-life date of each component.
Known vulnerabilities
Exact dependency versions are resolved from lockfiles and checked against the OSV vulnerability database. If the database cannot be reached, the check is reported as unavailable rather than as clean.