Skip to main content

collect_dead_code_findings

Function collect_dead_code_findings 

Source
pub fn collect_dead_code_findings(
    results: &AnalysisResults,
) -> Vec<FindingInput>
Expand description

Collect line-independent dead-code finding identities from an analysis result.

Covers the single-file-anchored dead-code kinds. Multi-file kinds (circular dependencies, re-export cycles, duplicate exports, unlisted dependencies) are intentionally not attributed in v1.5: they surface and trend, but their multi-file nature does not fit the per-file frontier (duplication has its own fingerprint frontier). Boundary violations are anchored at the importing file.