MCPcopy
hub / github.com/colbymchenry/codegraph / count

Function count

__tests__/db-perf.test.ts:340–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338 { source: 'A', target: 'B', kind: 'calls', line: 200, column: 4 },
339 ]);
340 const count = () => (raw.prepare('SELECT count(*) AS c FROM edges').get() as { c: number }).c;
341 expect(count()).toBe(3); // duplicate admitted while the index was absent
342
343 runMigrations(raw, 5);

Callers 1

db-perf.test.tsFile · 0.85

Calls 2

getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected