pub struct HealthRunOptionsInput<'a> {Show 21 fields
pub output: OutputFormat,
pub thresholds: HealthThresholdOverrides,
pub top: Option<usize>,
pub sort: HealthSort,
pub complexity: bool,
pub file_scores: bool,
pub coverage_gaps: bool,
pub hotspots: bool,
pub ownership: bool,
pub ownership_emails: Option<EmailMode>,
pub targets: bool,
pub css: bool,
pub effort: Option<EffortEstimate>,
pub score: bool,
pub gates: HealthGateOptions,
pub snapshot_requested: bool,
pub trend: bool,
pub since: Option<&'a str>,
pub min_commits: Option<u32>,
pub coverage_inputs: HealthCoverageInputs<'a>,
pub runtime_coverage: Option<RuntimeCoverageOptions>,
}Expand description
Command-neutral inputs used to normalize a health run before it reaches a concrete runner.
Fields§
§output: OutputFormatOutput format; badge output implies the score section.
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.
complexity: boolExplicit request for the complexity findings section.
file_scores: boolExplicit request for the per-file health scores section.
coverage_gaps: boolExplicit request for the static coverage gaps section.
hotspots: boolExplicit request for the churn-based hotspots section.
ownership: boolAttribute hotspots to owners (implies the hotspots section data).
ownership_emails: Option<EmailMode>How owner identities are rendered (names or emails).
targets: boolExplicit request for the refactoring targets section.
css: boolExplicit request for the CSS / styling analytics section.
effort: Option<EffortEstimate>Effort estimation mode; requesting it also enables the targets section.
score: boolExplicit request for the overall health score.
gates: HealthGateOptionsExit gate thresholds; a score gate implies the score section.
snapshot_requested: boolTrue when the run should persist a health snapshot (forces a full run).
trend: boolExplicit request for the score trend section (implies score).
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.
coverage_inputs: HealthCoverageInputs<'a>Istanbul coverage inputs for CRAP scoring.
runtime_coverage: Option<RuntimeCoverageOptions>Runtime coverage sidecar options, when runtime analysis was requested.
Trait Implementations§
Source§impl<'a> Clone for HealthRunOptionsInput<'a>
impl<'a> Clone for HealthRunOptionsInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for HealthRunOptionsInput<'a>
impl<'a> RefUnwindSafe for HealthRunOptionsInput<'a>
impl<'a> Send for HealthRunOptionsInput<'a>
impl<'a> Sync for HealthRunOptionsInput<'a>
impl<'a> Unpin for HealthRunOptionsInput<'a>
impl<'a> UnsafeUnpin for HealthRunOptionsInput<'a>
impl<'a> UnwindSafe for HealthRunOptionsInput<'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 more