Find Dead Code
find_dead_codeIdentify unreachable functions by tracing the call graph from routes, exports, and tests. Flag dead code candidates for cleanup or safe deletion before release.
Instructions
Find functions that nothing calls. Walks the call graph from all entry points (routes, exports, tests) and flags symbols that are unreachable. Use this during cleanup or before a release to find safe deletion candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. | |
| include_tests | No | Include test entities in dead code results (default: false) |