| 1128 | } lsp_edge_count_ctx_t; |
| 1129 | |
| 1130 | static 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 | |
| 1141 | static const char *class_method_tail(const char *qn) { |
| 1142 | if (!qn) { |
nothing calls this directly
no outgoing calls
no test coverage detected