Skip to main content

run_complexity_with_runner

Function run_complexity_with_runner 

Source
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 runner is a seam for tests and hosts. EngineHealthRunner is the default. The runner supplies typed analysis and runtime facts. This API crate owns the final programmatic report assembly.

ยงErrors

Returns a structured programmatic error for invalid options or runner failures.