pub struct Evidence {
pub static_status: String,
pub test_coverage: String,
pub v8_tracking: String,
pub untracked_reason: Option<String>,
pub observation_days: u32,
pub deployments_observed: u32,
}Expand description
Supporting evidence for a Finding. Mirrors the rows of the decision
table in .internal/spec-production-coverage.md so the CLI can render the
“why” behind each verdict without re-deriving it.
Fields§
§static_status: String"unused" when the CLI marked the function statically unreachable,
"used" otherwise.
test_coverage: String"covered" or "not_covered" by the project’s test suite.
v8_tracking: String"tracked" when V8 observed the function, "untracked" otherwise.
untracked_reason: Option<String>Populated when v8_tracking == "untracked". Values mirror the spec:
"lazy_parsed", "worker_thread", "dynamic_eval", "unknown".
observation_days: u32Days of observation the decision rests on. Echoes Summary::period_days.
deployments_observed: u32Distinct deployments the decision rests on. Echoes Summary::deployments_seen.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
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 Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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