pub struct AnalyzerCoverage {
pub analyzer: &'static str,
pub summary: &'static str,
pub languages: &'static [&'static str],
pub host_readiness: Readiness,
pub assets_provisioned: bool,
pub host_programs: &'static [&'static str],
pub missing_programs: Vec<&'static str>,
}Expand description
What one shipped analyzer covers — the coverage matrix, read off the code rather than off a document, so the two cannot drift apart unnoticed.
Every field is machine-global. Nothing here is a statement about any repository: it asks what this host has provisioned and what it has installed, and the answer is the same whichever project was selected.
Fields§
§analyzer: &'static strThe analyzer id.
summary: &'static strOne line on what it looks for.
languages: &'static [&'static str]The languages it produces findings for (ADR-0018’s matrix).
host_readiness: ReadinessWhether this host could run it, and if not, which remedy applies. A
summary of the two fields below — see Readiness.
assets_provisioned: boolWhether every pinned asset it needs is provisioned on this machine and
still matches its digest. Fixed by roteiro security prefetch.
host_programs: &'static [&'static str]Every program it needs on PATH to run on this host
(crate::Adapter::host_programs).
missing_programs: Vec<&'static str>Which of those are not on PATH. Empty exactly when all are present.
Named individually because the name is the actionable part: Roteiro does not
install these, so the reader has to know which one to go and get.
Trait Implementations§
Source§impl Clone for AnalyzerCoverage
impl Clone for AnalyzerCoverage
Source§fn clone(&self) -> AnalyzerCoverage
fn clone(&self) -> AnalyzerCoverage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more