Two kinds of language support apply to an assessment. The model reads source files as text and can assess code in any programming language. The static measurements, which bound scores and drive the estimates, each cover a defined set of languages and file formats. Where a measurement does not cover a language, the corresponding bound is not applied and the model's judgement stands within the rubric.
Static measurement coverage#
| Measurement | Coverage |
|---|---|
| Lines of code for the investment estimate | Python, TypeScript, JavaScript, Go, Rust, Java, Kotlin, Ruby, PHP, C#, SQL, shell scripts |
| Test-to-source ratio and language list | The above, plus C, C++, Swift, Scala, Elixir, Clojure, Haskell, Lua, R, Objective-C, Vue and Svelte files |
| Cyclomatic complexity | Python |
| Security pattern scan | The languages covered by the scanner's curated rules, including Python, JavaScript, TypeScript, Go, Java, C#, Ruby and PHP |
| Dependency count | requirements.txt, pyproject.toml, package.json, go.mod, Cargo.toml |
| Resolved versions for vulnerability checks | package-lock.json, pnpm-lock.yaml, yarn.lock, poetry.lock, uv.lock, requirements*.txt, Gemfile.lock, go.sum, Cargo.lock, composer.lock |
| Runtime end-of-life checks | Node.js, Python, Go, Java, PHP, Ruby, .NET |
| Linter detection | Configuration for ESLint, Ruff, Flake8, Pylint, golangci-lint, RuboCop |
Model assessment#
The scoring and report passes do not depend on a parser for each language. The model reads files, searches the code and judges each dimension against the rubric in any language, including configuration and infrastructure code. Its findings refer to files and lines that you can check.
Calibration is strongest where static coverage is complete. For a Python codebase every bound can apply. For a language without complexity analysis, the code quality score is bounded by the linter and other checks but not by complexity. For code with no lockfile, known vulnerabilities in dependencies are not checked.
Productivity data for estimates#
The investment estimate converts measured size into hours using productivity data held separately for each language in the first row of the table above. Languages differ in how much effort a line of code represents, so the same number of lines produces different baselines in, for example, Rust and Python.