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

Method findCircularDependencies

src/graph/queries.ts:228–230  ·  view source on GitHub ↗

* Find circular imports between files * * @returns Groups of files that all reach each other through imports, smallest first

()

Source from the content-addressed store, hash-verified

226 * @returns Groups of files that all reach each other through imports, smallest first
227 */
228 findCircularDependencies(): string[][] {
229 return findFileCycles(this.queries.getFileImportPairs());
230 }
231
232 /**
233 * Get complexity metrics for a node

Callers 1

mainFunction · 0.45

Calls 2

findFileCyclesFunction · 0.90
getFileImportPairsMethod · 0.45

Tested by

no test coverage detected