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

Function count_lsp_call_edges

tests/test_parallel.c:1130–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128} lsp_edge_count_ctx_t;
1129
1130static void count_lsp_call_edges(const cbm_gbuf_edge_t *edge, void *ud) {
1131 lsp_edge_count_ctx_t *c = ud;
1132 if (!edge || !edge->type || strcmp(edge->type, "CALLS") != 0) {
1133 return;
1134 }
1135 c->total_calls++;
1136 if (edge->properties_json && strstr(edge->properties_json, "\"strategy\":\"lsp")) {
1137 c->lsp_strategy_count++;
1138 }
1139}
1140
1141static const char *class_method_tail(const char *qn) {
1142 if (!qn) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected