| 307 | } |
| 308 | |
| 309 | static int label_count(const cbm_gbuf_t *gb, const char *label) { |
| 310 | const cbm_gbuf_node_t **nodes = NULL; |
| 311 | int count = 0; |
| 312 | if (cbm_gbuf_find_by_label(gb, label, &nodes, &count) != 0) { |
| 313 | return 0; |
| 314 | } |
| 315 | return count; |
| 316 | } |
| 317 | |
| 318 | /* Gathers the graph buffer: every Function/Method node as a seed, every CALLS |
| 319 | * edge, and the key of every node a CALLS edge targets. */ |
no test coverage detected