pub struct ComplexityRunOptions<'a> {
pub thresholds: ComplexityThresholdOverrides,
pub top: Option<usize>,
pub sort: ComplexitySort,
pub complexity_breakdown: bool,
pub sections: DerivedComplexityOptions,
pub ownership_emails: Option<OwnershipEmailMode>,
pub effort: Option<TargetEffort>,
pub css: bool,
pub css_deep: bool,
pub since: Option<&'a str>,
pub min_commits: Option<u32>,
pub coverage_inputs: ComplexityCoverageInputs<'a>,
}Expand description
Normalized programmatic complexity / health inputs owned by fallow-api.
Fields§
§thresholds: ComplexityThresholdOverridesComplexity threshold overrides.
top: Option<usize>Cap on the number of reported findings.
sort: ComplexitySortSort order for complexity findings.
complexity_breakdown: boolInclude the per-metric complexity breakdown with each finding.
sections: DerivedComplexityOptionsDerived effective section selection.
ownership_emails: Option<OwnershipEmailMode>Email privacy mode for ownership output.
effort: Option<TargetEffort>Filter refactoring targets by estimated effort.
css: boolInclude CSS / styling health.
css_deep: boolEnable deep cross-file CSS analysis.
since: Option<&'a str>Git time window (for example 30d) for churn-based sections.
min_commits: Option<u32>Minimum commit count for a file to count as a hotspot.
coverage_inputs: ComplexityCoverageInputs<'a>Test coverage inputs.
Trait Implementations§
Source§impl<'a> Clone for ComplexityRunOptions<'a>
impl<'a> Clone for ComplexityRunOptions<'a>
Source§impl<'a> Debug for ComplexityRunOptions<'a>
impl<'a> Debug for ComplexityRunOptions<'a>
Source§impl<'a> PartialEq for ComplexityRunOptions<'a>
impl<'a> PartialEq for ComplexityRunOptions<'a>
impl<'a> StructuralPartialEq for ComplexityRunOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComplexityRunOptions<'a>
impl<'a> RefUnwindSafe for ComplexityRunOptions<'a>
impl<'a> Send for ComplexityRunOptions<'a>
impl<'a> Sync for ComplexityRunOptions<'a>
impl<'a> Unpin for ComplexityRunOptions<'a>
impl<'a> UnsafeUnpin for ComplexityRunOptions<'a>
impl<'a> UnwindSafe for ComplexityRunOptions<'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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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