| 180 | } |
| 181 | |
| 182 | static int get_edge_count(void) { |
| 183 | cbm_store_t *s = open_store(); |
| 184 | if (!s) |
| 185 | return -1; |
| 186 | int c = cbm_store_count_edges(s, g_project); |
| 187 | cbm_store_close(s); |
| 188 | return c; |
| 189 | } |
| 190 | |
| 191 | static int get_edge_count_by_type(const char *type) { |
| 192 | cbm_store_t *s = open_store(); |
no test coverage detected