Resolved invocations that name a real target (not an lsp_unresolved marker) * whose callee QN contains sub. Member-access rows (one per function, type and * member) are a different kind and are not counted. */
| 16547 | * whose callee QN contains sub. Member-access rows (one per function, type and |
| 16548 | * member) are a different kind and are not counted. */ |
| 16549 | static int count_real_resolved(const CBMFileResult *r, const char *sub) { |
| 16550 | int n = 0; |
| 16551 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 16552 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 16553 | if (rc->kind == CBM_RESOLVED_INVOCATION && rc->callee_qn && strstr(rc->callee_qn, sub) && |
| 16554 | rc->confidence > 0.0f && !(rc->strategy && strcmp(rc->strategy, "lsp_unresolved") == 0)) |
| 16555 | n++; |
| 16556 | } |
| 16557 | return n; |
| 16558 | } |
| 16559 | |
| 16560 | /* A versionbits-style fluent chain (the #323 hang): every link returns |
| 16561 | * Tester&, and the evaluator re-evaluates a call's receiver for template |
no outgoing calls
no test coverage detected