Skip to main content

scan_missing_instrumentation

Function scan_missing_instrumentation 

Source
pub fn scan_missing_instrumentation(
    unit_logical_id: &str,
    source: &str,
) -> Vec<MissingInstrumentationSite>
Expand description

Scan a routine source: if it has a body (BEGIN) but no recognized instrumentation marker, yield a single MissingInstrumentationSite. A spec with no body yields nothing (R13 — we only report a unit we can see executes).