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

Function routine

__tests__/pascal-reference-boundaries.test.ts:43–47  ·  view source on GitHub ↗
(qualifiedName: string)

Source from the content-addressed store, hash-verified

41}
42
43function routine(qualifiedName: string) {
44 const node = graph!.getNodesByKind('method').concat(graph!.getNodesByKind('function')).find((n) => n.qualifiedName === qualifiedName);
45 expect(node, qualifiedName).toBeDefined();
46 return node!;
47}
48
49/** The calls and references a routine makes, as `kind:Target`, once each. */
50function dependencies(qualifiedName: string): string[] {

Callers 3

dependenciesFunction · 0.70
edgesByLineFunction · 0.70

Calls 1

getNodesByKindMethod · 0.65

Tested by

no test coverage detected