Skip to main content

Module runtime

Module runtime 

Source
Expand description

Programmatic runtime entry points that do not depend on fallow-cli.

Structs§

DeadCodeProgrammaticOutput
Typed programmatic dead-code output before JSON serialization.
DuplicationProgrammaticOutput
Typed programmatic duplication output before JSON serialization.
EngineHealthRunner
Default health runner backed directly by fallow-engine.
HealthJsonReportInput
Inputs for serializing health JSON output through the API boundary.
HealthProgrammaticOutput
Typed programmatic health / complexity output before JSON serialization.
ProgrammaticAnalysisContext
Resolved common programmatic analysis context.
ProgrammaticHealthNextStepFacts
Runtime probes used by programmatic health output assembly.
ProgrammaticHealthRun
Health runner output shared by API, NAPI, and compatibility adapters.

Traits§

ProgrammaticHealthRunner
Temporary runner boundary for programmatic health while execution moves from the CLI crate into the engine/API stack.

Functions§

compute_complexity_with_runner
Run programmatic health / complexity through the API-owned output boundary.
compute_health
Run programmatic health / complexity and return the stable JSON contract.
compute_health_with_runner
Alias for compute_complexity_with_runner with a product-oriented name.
derive_programmatic_health_execution_options
Derive engine-owned health execution options from public programmatic API options and a resolved analysis context.
detect_boundary_violations
Run boundary-family analysis and return the dead-code JSON envelope.
detect_circular_dependencies
Run circular-dependency analysis and return the dead-code JSON envelope.
detect_dead_code
Run dead-code analysis and return the JSON output contract.
detect_duplication
Run duplication analysis and return the JSON output contract.
resolve_programmatic_analysis_context
Resolve common programmatic analysis options once for a concrete runtime.
run_boundary_violations
Run boundary-family analysis and return typed API output before JSON.
run_circular_dependencies
Run circular-dependency analysis and return typed API output before JSON.
run_complexity_with_runner
Run programmatic health / complexity and return typed API output.
run_dead_code
Run dead-code analysis and return typed API output before serialization.
run_duplication
Run duplication analysis and return typed API output before serialization.
run_health
Run programmatic health / complexity through the engine-backed runner.
run_health_with_runner
Alias for run_complexity_with_runner with a product-oriented name.
serialize_health_report_json
Serialize a health / complexity report into the stable JSON output contract.