pub struct HealthExecutionOptions<'a> {Show 50 fields
pub root: &'a Path,
pub config_path: &'a Option<PathBuf>,
pub output: OutputFormat,
pub no_cache: bool,
pub threads: usize,
pub quiet: bool,
pub complexity_breakdown: bool,
pub thresholds: HealthThresholdOverrides,
pub top: Option<usize>,
pub sort: HealthSort,
pub production: bool,
pub production_override: Option<bool>,
pub allow_remote_extends: bool,
pub changed_since: Option<&'a str>,
pub diff_index: Option<&'a DiffIndex>,
pub use_shared_diff_index: bool,
pub workspace: Option<&'a [String]>,
pub changed_workspaces: Option<&'a str>,
pub baseline: Option<&'a Path>,
pub save_baseline: Option<&'a Path>,
pub baseline_mode: HealthBaselineMode,
pub baseline_mode_explicit: bool,
pub complexity: bool,
pub file_scores: bool,
pub coverage_gaps: bool,
pub config_activates_coverage_gaps: bool,
pub hotspots: bool,
pub ownership: bool,
pub ownership_emails: Option<EmailMode>,
pub targets: bool,
pub css: bool,
pub css_deep: bool,
pub force_full: bool,
pub score_only_output: bool,
pub enforce_coverage_gap_gate: bool,
pub effort: Option<EffortEstimate>,
pub score: bool,
pub gates: HealthGateOptions,
pub since: Option<&'a str>,
pub min_commits: Option<u32>,
pub explain: bool,
pub summary: bool,
pub save_snapshot: Option<PathBuf>,
pub trend: bool,
pub coverage_inputs: HealthCoverageInputs<'a>,
pub performance: bool,
pub runtime_coverage: Option<RuntimeCoverageOptions>,
pub churn_file: Option<&'a Path>,
pub analysis_identity: SemanticAnalysisIdentity,
pub group_by: Option<GroupByMode>,
}Expand description
Command-neutral inputs needed to execute a health analysis.
These fields are shared runner inputs rather than rendering concerns.
Fields§
§root: &'a PathProject root to analyze.
config_path: &'a Option<PathBuf>Explicit config file path; None triggers automatic discovery.
output: OutputFormatOutput format of the run; badge output implies the score section.
no_cache: boolBypass the parse cache for this run.
threads: usizeWorker thread count for parsing and analysis.
quiet: boolSuppress progress notes on stderr.
complexity_breakdown: boolInclude per-decision-point complexity contributions in typed findings.
This changes the produced health result shape, so it belongs to the runner input contract rather than CLI rendering options.
thresholds: HealthThresholdOverridesComplexity threshold overrides on top of the resolved config.
top: Option<usize>Cap on rendered findings per section.
sort: HealthSortSort criteria for complexity findings.
production: boolRaw production-only request flag; folded into production_override
when the tri-state override is unset.
production_override: Option<bool>Tri-state production override: Some forces production-only analysis
on or off regardless of config, None defers to the config value.
allow_remote_extends: boolPermit extends config inheritance from remote URLs.
changed_since: Option<&'a str>Git ref limiting findings to files changed since it.
diff_index: Option<&'a DiffIndex>Pre-built diff index scoping findings to changed lines.
True when diff_index came from the process-shared diff source rather
than a health-specific one.
workspace: Option<&'a [String]>Workspace member paths limiting the analysis scope.
changed_workspaces: Option<&'a str>Git ref selecting only workspaces with changes since it.
baseline: Option<&'a Path>Baseline file to compare finding counts against.
save_baseline: Option<&'a Path>Path to write the run’s finding counts as a new baseline.
baseline_mode: HealthBaselineModeControls both halves of the baseline lifecycle: which buckets
save_baseline writes and how a loaded baseline is matched. An
identity save writes count and identity buckets, a count save writes
count buckets only.
baseline_mode_explicit: boolWhether baseline_mode was requested explicitly rather than defaulted.
A defaulted count save refuses to overwrite a baseline that carries
identity buckets, because dropping them breaks later identity-mode
comparisons; an explicit count request is treated as intent to
downgrade.
complexity: boolRender the complexity findings section.
file_scores: boolRender the per-file health scores section.
coverage_gaps: boolRender the static coverage gaps section.
config_activates_coverage_gaps: boolLet config-enabled coverage settings activate the coverage gaps section even when it was not requested on this run.
hotspots: boolRender the churn-based hotspots section.
ownership: boolAttribute hotspots to owners.
ownership_emails: Option<EmailMode>How owner identities are rendered (names or emails).
targets: boolRender the refactoring targets section.
css: boolRender the CSS / styling analytics section.
css_deep: boolScan all stylesheets for the CSS section instead of only changed files.
force_full: boolAnalyze the full project even when only a subset of sections was requested, because scores and snapshots need complete data.
score_only_output: boolTrue when the score is the only requested surface, so output can skip section rendering entirely.
enforce_coverage_gap_gate: boolFail the run on coverage gaps instead of reporting them advisorily.
effort: Option<EffortEstimate>Effort estimation mode for refactoring targets.
score: boolCompute and render the overall health score.
gates: HealthGateOptionsExit gate thresholds.
since: Option<&'a str>Churn lookback window for hotspots (90d, 6m, 1y, or an ISO date).
min_commits: Option<u32>Minimum commit count for a file to qualify as churn evidence.
explain: boolInclude score-derivation explanations in the rendered output.
summary: boolRender the condensed summary view instead of full sections.
save_snapshot: Option<PathBuf>Path to persist a health snapshot for later trend comparison.
trend: boolRender the score trend against previously saved snapshots.
coverage_inputs: HealthCoverageInputs<'a>Istanbul coverage inputs for CRAP scoring.
performance: boolPrint per-phase timing diagnostics.
runtime_coverage: Option<RuntimeCoverageOptions>Runtime coverage sidecar options, when runtime analysis was requested.
churn_file: Option<&'a Path>Pre-recorded churn data file replacing live git log analysis.
analysis_identity: SemanticAnalysisIdentityCompatibility identity persisted with snapshots and checked by trends.
group_by: Option<GroupByMode>Optional grouping mode for typed health output.
Trait Implementations§
Source§impl<'a> Clone for HealthExecutionOptions<'a>
impl<'a> Clone for HealthExecutionOptions<'a>
Source§fn clone(&self) -> HealthExecutionOptions<'a>
fn clone(&self) -> HealthExecutionOptions<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for HealthExecutionOptions<'a>
impl<'a> RefUnwindSafe for HealthExecutionOptions<'a>
impl<'a> Send for HealthExecutionOptions<'a>
impl<'a> Sync for HealthExecutionOptions<'a>
impl<'a> Unpin for HealthExecutionOptions<'a>
impl<'a> UnsafeUnpin for HealthExecutionOptions<'a>
impl<'a> UnwindSafe for HealthExecutionOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more