pub fn run_complexity_with_runner(
options: &ComplexityOptions,
runner: &impl ProgrammaticHealthRunner,
) -> Result<HealthProgrammaticOutput, ProgrammaticError>Expand description
Run programmatic health / complexity and return typed API output.
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 programmatic report assembly.
ยงErrors
Returns a structured programmatic error for invalid options or runner failures.