Finding Dead Code Across Multi-File Codebases with AST Call-Graph Reachability
This story is from 2026-10-08. It is preserved in the archive; the latest stories are on the live feed.
Traditional linters like ESLint do a great job finding unused variables within a single file. But when a function is exported, file-scoped linters give up, assuming some other module might import it. To detect truly dead functions across an entire project, TokenCap performs global call-graph reacha…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-08 13:50 · DEV Community — AI
Finding Dead Code Across Multi-File Codebases with AST Call-Graph Reachability