Repository navigation
v0.1.0
v0.1.0 — first public cut
Dead code quantifier: measure how much of a repository is dead, instead of guessing. Zero-dependency CLI.
Run it
python gate.py scan examples/src --mode conservative --gate 10The bundled examples/ are designed to fail — that is the demo, not a bug.
What is verified (not claimed)
- Zero dependencies: one file, standard library only, Python 3.9+
- Every output quoted in the README is real stdout from this repo, not a mock-up
- CI runs this gate on every push — the badge at the top is live, click it and read the log
- Exit code is meaningful:
0clean, non-zero when it finds something
What it does not do
- It cannot prove a symbol is unused — reflection, string dispatch, and plugins defeat any static tool.
License
Code: Apache-2.0 · Spec & docs: CC BY 4.0