pub struct CoverageIntelligenceEvidence {
pub coverage_pct: Option<f64>,
pub crap: Option<f64>,
pub runtime_verdict: Option<String>,
pub invocations: Option<u64>,
pub static_status: Option<String>,
pub test_coverage: Option<String>,
pub changed: bool,
pub ownership_state: Option<String>,
pub match_confidence: CoverageIntelligenceMatchConfidence,
}Expand description
Compact evidence values that led to a recommendation.
Fields§
§coverage_pct: Option<f64>Test coverage percentage (0-100), when coverage data exists.
crap: Option<f64>CRAP score, when complexity and coverage both exist.
runtime_verdict: Option<String>Runtime-coverage verdict label, e.g. hot or cold.
invocations: Option<u64>Observed runtime invocation count.
static_status: Option<String>Static usage status label, e.g. unused.
test_coverage: Option<String>Static test-coverage status label, e.g. no-test-path.
changed: boolTrue when the unit is inside the current change scope; omitted when false.
ownership_state: Option<String>Ownership-drift state label, when ownership analysis ran.
match_confidence: CoverageIntelligenceMatchConfidenceConfidence tier of the cross-surface evidence join.
Trait Implementations§
Source§impl Clone for CoverageIntelligenceEvidence
impl Clone for CoverageIntelligenceEvidence
Source§impl Debug for CoverageIntelligenceEvidence
impl Debug for CoverageIntelligenceEvidence
Source§impl<'de> Deserialize<'de> for CoverageIntelligenceEvidence
impl<'de> Deserialize<'de> for CoverageIntelligenceEvidence
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
Auto Trait Implementations§
impl Freeze for CoverageIntelligenceEvidence
impl RefUnwindSafe for CoverageIntelligenceEvidence
impl Send for CoverageIntelligenceEvidence
impl Sync for CoverageIntelligenceEvidence
impl Unpin for CoverageIntelligenceEvidence
impl UnsafeUnpin for CoverageIntelligenceEvidence
impl UnwindSafe for CoverageIntelligenceEvidence
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