| 156 | return ok; |
| 157 | } |
| 158 | static bool pc_node(cbm_store_t *s, const char *qn, const char *name, const char *file, |
| 159 | const char *role, cbm_node_t *out) { |
| 160 | memset(out, 0, sizeof(*out)); |
| 161 | return cbm_store_find_node_by_qn(s, PC_PROJECT, qn, out) == CBM_STORE_OK && |
| 162 | pc_text(out->qualified_name, qn) && pc_text(out->name, name) && |
| 163 | pc_text(out->file_path, file) && pc_role(out, role); |
| 164 | } |
| 165 | static bool pc_call(cbm_store_t *s, int64_t source, int64_t target) { |
| 166 | cbm_edge_t *edges = NULL; int count = 0; |
| 167 | bool read = cbm_store_find_edges_by_source_type(s, source, "CALLS", &edges, &count) == CBM_STORE_OK; |
no test coverage detected