MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / ib_metrics

Function ib_metrics

tests/repro/repro_invariant_breadth.c:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101} IBMetrics;
102
103static IBMetrics ib_metrics(const char *filename, const char *content) {
104 RProj lp;
105 cbm_store_t *store = rh_index(&lp, filename, content);
106 IBMetrics m = {0};
107 if (store) {
108 m.ok = 1;
109 m.calls = rh_count_edges(store, lp.project, "CALLS");
110 m.callable_calls = ib_callable_calls(store, lp.project);
111 m.module_calls = ib_module_calls(store, lp.project);
112 }
113 rh_cleanup(&lp, store);
114 return m;
115}
116
117/* ---- breadth case table ------------------------------------------------- */
118

Callers 1

Calls 5

rh_indexFunction · 0.85
rh_count_edgesFunction · 0.85
ib_callable_callsFunction · 0.85
ib_module_callsFunction · 0.85
rh_cleanupFunction · 0.85

Tested by

no test coverage detected