pub struct InspectEvidence {Show 13 fields
pub trace_file: InspectEvidenceSection,
pub trace_export: Option<InspectEvidenceSection>,
pub dead_code: InspectEvidenceSection,
pub duplication: InspectEvidenceSection,
pub complexity: InspectEvidenceSection,
pub security: InspectEvidenceSection,
pub impact_closure: InspectEvidenceSection,
pub churn: Option<InspectEvidenceSection>,
pub symbol_chain: Option<InspectEvidenceSection>,
pub semantic_trace: Option<InspectEvidenceSection>,
pub api_surface: Option<InspectEvidenceSection>,
pub symbol_impact: Option<InspectEvidenceSection>,
pub targeted_tests: Option<InspectEvidenceSection>,
}Expand description
evidence block of InspectOutput: one section per analysis.
Fields§
§trace_file: InspectEvidenceSectionFile-level reachability trace.
trace_export: Option<InspectEvidenceSection>Export-level usage trace; present only for symbol targets.
dead_code: InspectEvidenceSectionDead-code findings for the target.
duplication: InspectEvidenceSectionDuplication findings involving the target file.
complexity: InspectEvidenceSectionComplexity findings for the target file.
security: InspectEvidenceSectionSecurity findings for the target file.
impact_closure: InspectEvidenceSectionImpact closure scoped to the inspected file as the seed: the transitive affected-but-not-in-diff set + coordination gap.
churn: Option<InspectEvidenceSection>OPT-IN target-level git churn. Omitted unless historical evidence was explicitly requested by the caller.
symbol_chain: Option<InspectEvidenceSection>OPT-IN symbol-level call chain. Present only when --symbol-chain was
requested AND the target is a SYMBOL (best-effort, syntactic, OFF the
ranked path). None (omitted) by default: symbol-level chains are
best-effort and not part of the trusted ranked evidence.
semantic_trace: Option<InspectEvidenceSection>Checker-backed declaration, alias, re-export, and use-site evidence. Present only for a symbol target in type-aware mode.
api_surface: Option<InspectEvidenceSection>Package-public TypeScript surface and private-type reachability. Present only for a symbol target in type-aware mode.
symbol_impact: Option<InspectEvidenceSection>Exact-symbol consumers and transitive affected files. Present only for a symbol target in type-aware mode.
targeted_tests: Option<InspectEvidenceSection>Test entry points reachable from the exact symbol, with provenance. Present only for a symbol target in type-aware mode.