Skip to main content

Crate reliary_dead

Crate reliary_dead 

Source
Expand description

Grammar-free dead code detection (V13: cross-file, ported from carrion).

Key difference from V1: scans ALL files and merges global occurrence counts BEFORE testing for deadness. A function called from another file will NOT be flagged as dead. This matches carrion’s approach.

Structs§

DeadCandidate
DeadConfig
Configuration for dead code analysis

Enums§

Confidence

Functions§

analyze_file
analyze_files
V13: cross-file analysis (carrion-style).
scan_repo
V13: Cross-file dead code detection (ported from carrion). Scans all files, merges global occurrence counts, then tests deadness.