Latest updateRead the latest release note →
Reachability
A module is reachable when the configured entry points can reach it through imports, exports, dynamic imports, package conventions, or plugin-provided evidence.
Entry points matter
Section titled “Entry points matter”A scan without accurate entry points can report valid code as unused. Start with application, package, test, and tool entry points that actually execute in your workspace.
Dynamic behavior
Section titled “Dynamic behavior”Dynamic dispatch, getattr, dispatch tables, exec, and eval reduce certainty. OptiPrune keeps those cases visible and lowers confidence instead of pretending the graph is complete.
Generated code
Section titled “Generated code”Generated directories should be declared in configuration or ignored deliberately. Do not delete generated output based on a source-only scan.