Supported languages

Which languages the static measurements cover, which languages the model can assess, and where the investment estimate has per-language productivity data.

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#

MeasurementCoverage
Lines of code for the investment estimatePython, TypeScript, JavaScript, Go, Rust, Java, Kotlin, Ruby, PHP, C#, SQL, shell scripts
Test-to-source ratio and language listThe above, plus C, C++, Swift, Scala, Elixir, Clojure, Haskell, Lua, R, Objective-C, Vue and Svelte files
Cyclomatic complexityPython
Security pattern scanThe languages covered by the scanner's curated rules, including Python, JavaScript, TypeScript, Go, Java, C#, Ruby and PHP
Dependency countrequirements.txt, pyproject.toml, package.json, go.mod, Cargo.toml
Resolved versions for vulnerability checkspackage-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 checksNode.js, Python, Go, Java, PHP, Ruby, .NET
Linter detectionConfiguration 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.