Skip to main content

Module health

Module health 

Source
Expand description

Typed health result contracts exposed through the engine boundary.

Modules§

ownership
Ownership risk analysis for hotspot files.
scoring

Structs§

ComplexityRunOptions
Normalized programmatic complexity / health inputs shared by API, NAPI, and engine-backed runners.
ComplexitySectionOptions
Input for deriving effective programmatic complexity sections.
DerivedComplexityOptions
Derived section selection for programmatic health / complexity runs.
DerivedHealthSections
Derived section selection for health runs.
HealthAnalysisResult
Typed health analysis result shared by CLI, API, NAPI, and future embedders.
HealthCoverageInputs
Command-neutral Istanbul coverage inputs for health CRAP scoring.
HealthExecutionOptions
Command-neutral inputs needed to execute a health analysis.
HealthGateOptions
Command-neutral health exit gate options.
HealthPipelineInputs
Discovery / parse inputs the CLI resolves before calling the engine.
HealthRunOptions
Normalized health inputs shared by CLI, API, NAPI, and future runners.
HealthRunOptionsInput
Command-neutral inputs used to normalize a health run before it reaches a concrete runner.
HealthScopeInputs
Scope inputs the CLI resolves before calling the engine.
HealthSeams
CLI-supplied callbacks the command-neutral health pipeline needs.
HealthSectionOptions
Input for deriving effective health sections from command-neutral flags.
HealthSharedParseData
Pre-parsed health input reused from another analysis in the same process.
HealthTelemetryFacts
Telemetry facts the engine surfaces for the CLI to record.
HealthThresholdOverrides
Command-neutral threshold overrides for health complexity findings.
RuntimeCoverageOptions
Command-neutral runtime coverage input for health analysis.
RuntimeCoverageSeamInput
Inputs the runtime coverage seam needs from the analysis core.

Enums§

HealthSort
Command-neutral sort criteria for health complexity findings.
NoGroupResolver
Placeholder grouping resolver for runs without --group-by (the programmatic API path). Constructed only as None, so its methods are never invoked.

Traits§

HealthGroupResolver
Command-neutral grouping resolver contract for --group-by health 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-file import up front (loud exit 2 on a malformed file). Exposed so the CLI wrapper can run it before the pipeline.

Type Aliases§

HealthResultGeneric
Typed health analysis result generic over the CLI-owned grouping resolver.
RuntimeCoverageAnalyzer
Runtime coverage analysis seam.