| 198 | } |
| 199 | |
| 200 | static int has_function(const char *name_pattern) { |
| 201 | char *resp = call_tool("search_graph", |
| 202 | "{\"project\":\"%s\",\"label\":\"Function\",\"name_pattern\":\"%s\"}", |
| 203 | g_project, name_pattern); |
| 204 | int total = count_in_response(resp, "total"); |
| 205 | free(resp); |
| 206 | return total > 0; |
| 207 | } |
| 208 | |
| 209 | static int count_by_label(const char *label) { |
| 210 | char *resp = |
no test coverage detected