| 28 | } |
| 29 | |
| 30 | static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 31 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 32 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 33 | if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn && |
| 34 | strstr(rc->callee_qn, calleeSub)) |
| 35 | return i; |
| 36 | } |
| 37 | return -1; |
| 38 | } |
| 39 | |
| 40 | static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 41 | int idx = find_resolved(r, callerSub, calleeSub); |
no outgoing calls
no test coverage detected