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

Method findCircularDependencies

src/graph/queries.ts:227–229  ·  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

225 * @returns Groups of files that all reach each other through imports, smallest first
226 */
227 findCircularDependencies(): string[][] {
228 return findFileCycles(this.queries.getFileImportPairs());
229 }
230
231 /**
232 * 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