MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / findDeadCode

Method findDeadCode

src/index.ts:3341–3343  ·  view source on GitHub ↗

* Find unreferenced symbols — the RAW candidate set. * * Non-exported symbols of the given kinds with no incoming edge but * `contains`. That is a fact, not a claim: on this engine's own index it * returns ~2 500 symbols, of which about 20 are actually unreachable. The * rest are over

(kinds?: Node['kind'][])

Source from the content-addressed store, hash-verified

3339 * @returns Array of unreferenced nodes
3340 */
3341 findDeadCode(kinds?: Node['kind'][]): Node[] {
3342 return this.graphManager.findDeadCode(kinds);
3343 }
3344
3345 /**
3346 * Get complexity metrics for a node

Callers 1

graph.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected