Expand description
Typed health result contracts exposed through the engine boundary.
Modules§
Structs§
- Complexity
RunOptions - Normalized programmatic complexity / health inputs shared by API, NAPI, and engine-backed runners.
- Complexity
Section Options - Input for deriving effective programmatic complexity sections.
- Derived
Complexity Options - Derived section selection for programmatic health / complexity runs.
- Derived
Health Sections - Derived section selection for health runs.
- Health
Analysis Result - Typed health analysis result shared by CLI, API, NAPI, and future embedders.
- Health
Coverage Inputs - Command-neutral Istanbul coverage inputs for health CRAP scoring.
- Health
Execution Options - Command-neutral inputs needed to execute a health analysis.
- Health
Gate Options - Command-neutral health exit gate options.
- Health
Pipeline Inputs - Discovery / parse inputs the CLI resolves before calling the engine.
- Health
RunOptions - Normalized health inputs shared by CLI, API, NAPI, and future runners.
- Health
RunOptions Input - Command-neutral inputs used to normalize a health run before it reaches a concrete runner.
- Health
Scope Inputs - Scope inputs the CLI resolves before calling the engine.
- Health
Seams - CLI-supplied callbacks the command-neutral health pipeline needs.
- Health
Section Options - Input for deriving effective health sections from command-neutral flags.
- Health
Shared Parse Data - Pre-parsed health input reused from another analysis in the same process.
- Health
Telemetry Facts - Telemetry facts the engine surfaces for the CLI to record.
- Health
Threshold Overrides - Command-neutral threshold overrides for health complexity findings.
- Runtime
Coverage Options - Command-neutral runtime coverage input for health analysis.
- Runtime
Coverage Seam Input - Inputs the runtime coverage seam needs from the analysis core.
Enums§
- Health
Sort - Command-neutral sort criteria for health complexity findings.
- NoGroup
Resolver - Placeholder grouping resolver for runs without
--group-by(the programmatic API path). Constructed only asNone, so its methods are never invoked.
Traits§
- Health
Group Resolver - Command-neutral grouping resolver contract for
--group-byhealth output.
Functions§
- derive_
complexity_ sections - Derive effective programmatic health / complexity section flags.
- derive_
health_ run_ options - Normalize health run inputs into the engine-owned run contract.
- derive_
health_ sections - Derive effective health section flags for CLI and embedders.
- execute_
health_ inner - Run the command-neutral health analysis pipeline.
- validate_
coverage_ root_ absolute - Validate that a coverage-data root is absolute under Unix or Windows path conventions.
- validate_
health_ churn_ file - Validate the explicit
--churn-fileimport up front (loud exit 2 on a malformed file). Exposed so the CLI wrapper can run it before the pipeline.
Type Aliases§
- Health
Result Generic - Typed health analysis result generic over the CLI-owned grouping resolver.
- Runtime
Coverage Analyzer - Runtime coverage analysis seam.