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

Method findDeadCode

src/index.ts:3311–3313  ·  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

3309 * @returns Array of unreferenced nodes
3310 */
3311 findDeadCode(kinds?: Node['kind'][]): Node[] {
3312 return this.graphManager.findDeadCode(kinds);
3313 }
3314
3315 /**
3316 * Get complexity metrics for a node

Callers 1

graph.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected