Skip to main content

RuntimeCoverageReport

Struct RuntimeCoverageReport 

Source
pub struct RuntimeCoverageReport {
Show 14 fields pub schema_version: RuntimeCoverageSchemaVersion, pub verdict: RuntimeCoverageReportVerdict, pub signals: Vec<RuntimeCoverageSignal>, pub summary: RuntimeCoverageSummary, pub findings: Vec<RuntimeCoverageFinding>, pub hot_paths: Vec<RuntimeCoverageHotPath>, pub blast_radius: Vec<RuntimeCoverageBlastRadiusEntry>, pub importance: Vec<RuntimeCoverageImportanceEntry>, pub watermark: Option<RuntimeCoverageWatermark>, pub warnings: Vec<RuntimeCoverageMessage>, pub actionable: bool, pub actionability_reason: Option<String>, pub actionability_verdict: Option<String>, pub provenance: RuntimeCoverageProvenance,
}
Expand description

Runtime coverage findings merged into the health report or emitted by fallow coverage analyze. Present in health output when –runtime-coverage is used. Shape mirrors the runtime coverage JSON contract; cloud mode fetches runtime facts explicitly and merges them locally with AST/static analysis.

Fields§

§schema_version: RuntimeCoverageSchemaVersion

Runtime coverage JSON contract version. This is scoped to the runtime_coverage block and is independent of the top-level fallow JSON schema_version.

§verdict: RuntimeCoverageReportVerdict

Single most actionable runtime-coverage signal under the current context. In PR-review context (CLI saw --diff-file or --changed-since) the verdict is hot-path-touched whenever a hot function was touched, regardless of cold-code findings; in standalone analysis cold-code-detected remains primary. For the full set of findings the report carries, see signals.

§signals: Vec<RuntimeCoverageSignal>

All signals captured by post-processing. Independent of verdict, which is the single most actionable signal under the current context. Empty when the report is Clean and not under license grace. Order is stable severity-descending.

§summary: RuntimeCoverageSummary

Aggregate tracked / hit / unhit / untracked counts for the analyzed runtime coverage input.

§findings: Vec<RuntimeCoverageFinding>

Surfaced runtime coverage findings (safe_to_delete, review_required, low_traffic, coverage_unavailable). Omitted when empty. active functions stay out of this list so the CLI output remains actionable.

§hot_paths: Vec<RuntimeCoverageHotPath>

Top runtime functions by invocation count. Omitted when empty.

§blast_radius: Vec<RuntimeCoverageBlastRadiusEntry>

First-class blast-radius entries for runtime-observed functions. Present whenever runtime coverage analysis runs.

§importance: Vec<RuntimeCoverageImportanceEntry>

First-class production-importance entries for runtime-observed functions. Present whenever runtime coverage analysis runs.

§watermark: Option<RuntimeCoverageWatermark>

License/trial watermark for grace-mode output. Omitted when not applicable.

§warnings: Vec<RuntimeCoverageMessage>

Non-fatal merge or coverage diagnostics. Omitted when empty.

§actionable: bool

Whether an autonomous agent may act on this report (mirrors the cloud runtime-context contract). false when the capture carries no usable runtime evidence (no tracked functions); then actionability_verdict is insufficient_evidence and actionability_reason explains. F4: a non-action floor, never a gate on a positive verdict.

§actionability_reason: Option<String>

Why the report is non-actionable; null when actionable is true.

§actionability_verdict: Option<String>

First-class non-action verdict (insufficient_evidence) when not actionable; null otherwise. Mirrors the cloud runtime-context verdict; named distinctly from the report-context verdict above to avoid a collision.

§provenance: RuntimeCoverageProvenance

Provenance an agent reads to self-attenuate confidence (mirrors the cloud runtime-context provenance). F4: context only.

Implementations§

Source§

impl RuntimeCoverageReport

Source

pub fn set_optimization_target_warning(&mut self)

Set the optimization_target_unmatched warning from the hot paths that this report shows. Call it after the last filter that removes hot paths, so that the count agrees with the output.

Source

pub fn refresh_optimization_target_warning(&mut self)

Count the unmatched hot paths again after a filter removed hot paths. Does nothing when the report has no optimization_target_unmatched warning, because only the local merge computes optimization targets.

Trait Implementations§

Source§

impl Clone for RuntimeCoverageReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RuntimeCoverageReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RuntimeCoverageReport

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for RuntimeCoverageReport

Source§

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 Serialize for RuntimeCoverageReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<'a, T> FromIn<'a, T> for T

Source§

fn from_in(t: T, _: &'a Allocator) -> T

Converts to this type from the input type within the given allocator.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

Source§

fn into_in(self, allocator: &'a Allocator) -> U

Converts this type into the (usually inferred) input type within the given allocator.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more