pub fn compute_complexity_with_runner(
options: &ComplexityOptions,
runner: &impl ProgrammaticHealthRunner,
) -> Result<Value, ProgrammaticError>Expand description
Run programmatic health / complexity through the API-owned output boundary.
The concrete runner is injected while the health implementation is still being migrated out of the CLI crate. Runner-owned responsibilities are limited to typed analysis plus runtime facts; this API crate owns the final JSON contract assembly.
ยงErrors
Returns a structured programmatic error for invalid options, runner failures, or output serialization failures.