pub enum CoverageIntelligenceSignal {
Changed,
HotPath,
LowTestCoverage,
HighCrap,
StaticUnused,
RuntimeCold,
NoTestPath,
RuntimeReachable,
OwnershipDrift,
TestCovered,
}Expand description
Ordered evidence signals behind a coverage-intelligence finding.
Variants§
Changed
The unit was changed in the current scope.
HotPath
Runtime coverage shows frequent execution.
LowTestCoverage
Test coverage is below the low threshold.
HighCrap
CRAP score is above the risk threshold.
StaticUnused
Static analysis found no consumer.
RuntimeCold
Runtime coverage never or rarely saw it execute.
NoTestPath
No test dependency path reaches the unit.
RuntimeReachable
Runtime coverage saw it execute.
OwnershipDrift
File ownership drifted from its historic maintainers.
TestCovered
A test dependency path reaches the unit.
Implementations§
Trait Implementations§
Source§impl Clone for CoverageIntelligenceSignal
impl Clone for CoverageIntelligenceSignal
impl Copy for CoverageIntelligenceSignal
Source§impl Debug for CoverageIntelligenceSignal
impl Debug for CoverageIntelligenceSignal
Source§impl<'de> Deserialize<'de> for CoverageIntelligenceSignal
impl<'de> Deserialize<'de> for CoverageIntelligenceSignal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CoverageIntelligenceSignal
impl Display for CoverageIntelligenceSignal
impl Eq for CoverageIntelligenceSignal
Source§impl Ord for CoverageIntelligenceSignal
impl Ord for CoverageIntelligenceSignal
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CoverageIntelligenceSignal
impl PartialOrd for CoverageIntelligenceSignal
impl StructuralPartialEq for CoverageIntelligenceSignal
Auto Trait Implementations§
impl Freeze for CoverageIntelligenceSignal
impl RefUnwindSafe for CoverageIntelligenceSignal
impl Send for CoverageIntelligenceSignal
impl Sync for CoverageIntelligenceSignal
impl Unpin for CoverageIntelligenceSignal
impl UnsafeUnpin for CoverageIntelligenceSignal
impl UnwindSafe for CoverageIntelligenceSignal
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more