Termsslug: dead-code-detection

Dead Code Detection

死代码检测

Static analysis technique that identifies unreferenced classes, functions and variables for cleanup.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
62 pts
Rust-Powered Python Dead Code Finder Runs 20x Faster Than Vulture

Unref is a Rust-written Python dead code finder built on Ruff's parser that scans the entire CPython codebase (~2,300 files) in under a second, roughly 20x faster than vulture. It matches names per module to avoid cross-module false negatives, ships built-in rules for pytest, Pydantic and SQLAlchemy, and mirrors Ruff's configuration and output style so it drops into CI via uvx, pre-commit or GitHub Actions.