pub struct RuntimeCoverageEvidence {
pub static_status: String,
pub test_coverage: String,
pub test_only_reference: Option<bool>,
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 fallow_cov_protocol::Evidence).
Fields§
§static_status: Stringused when the function is reachable in the module graph, unused
otherwise.
test_coverage: Stringcovered when the project’s test suite hits this function,
not_covered otherwise.
test_only_reference: Option<bool>true when the function is unreachable in the production module graph
but still referenced from a file that production mode excludes (test,
spec, story, fixture, or benchmark). Such a function is not dead code:
removing it breaks the referencing test. false when the production
graph was compared against the full tree and no such reference exists.
null when the report was produced without a production filter, or by
a surface that carries no second reachability answer.
v8_tracking: Stringtracked when V8 observed the function, untracked otherwise.
untracked_reason: Option<String>Reason the function is untracked. Populated only when v8_tracking is
untracked. Values: lazy_parsed, worker_thread, dynamic_eval,
unknown.
observation_days: u32Days of observation backing this finding.
deployments_observed: u32Distinct deployments backing this finding.