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

Function ib_metrics

tests/repro/repro_invariant_breadth.c:100–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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