Sum callable nodes (Function + Method). */
| 269 | |
| 270 | /* Sum callable nodes (Function + Method). */ |
| 271 | static int cp_callables(cbm_store_t *store, const char *project) { |
| 272 | int fn = cp_count_label(store, project, "Function"); |
| 273 | int mt = cp_count_label(store, project, "Method"); |
| 274 | return (fn < 0 ? 0 : fn) + (mt < 0 ? 0 : mt); |
| 275 | } |
| 276 | |
| 277 | /* Diagnostic edge histogram (stderr only, so test output stays clean). */ |
| 278 | static const char *CP_ALL_EDGE_TYPES[] = { |
no test coverage detected