| 186 | } |
| 187 | |
| 188 | static int count_by_label(const char *label) { |
| 189 | char *resp = |
| 190 | call_tool("search_graph", "{\"project\":\"%s\",\"label\":\"%s\"}", g_project, label); |
| 191 | int total = count_in_response(resp, "total"); |
| 192 | free(resp); |
| 193 | return total; |
| 194 | } |
| 195 | |
| 196 | /* ── Setup / Teardown ─────────────────────────────────────────────── */ |
| 197 |
no test coverage detected