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§
- Dead
Candidate - Dead
Config - Configuration for dead code analysis
Enums§
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.