| 36 | } |
| 37 | |
| 38 | static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 39 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 40 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 41 | if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn && |
| 42 | strstr(rc->callee_qn, calleeSub)) |
| 43 | return i; |
| 44 | } |
| 45 | return -1; |
| 46 | } |
| 47 | |
| 48 | static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 49 | int idx = find_resolved(r, callerSub, calleeSub); |
no outgoing calls
no test coverage detected