`calls` callees with how each was resolved: `qualifiedName resolvedBy@confidence`.
(cg: CodeGraph, caller: string)
| 52 | |
| 53 | /** `calls` callees with how each was resolved: `qualifiedName resolvedBy@confidence`. */ |
| 54 | function resolvedCalls(cg: CodeGraph, caller: string): string[] { |
| 55 | return cg |
| 56 | .getCallees(callable(cg, caller).id) |
| 57 | .filter((r) => r.edge.kind === 'calls') |
| 58 | .map((r) => `${r.node.qualifiedName} ${String(r.edge.metadata?.resolvedBy)}@${String(r.edge.metadata?.confidence)}`) |
| 59 | .sort(); |
| 60 | } |
| 61 | |
| 62 | /** facebook/rocksdb's shapes, trimmed: the small vector, and the class whose words the receivers share. */ |
| 63 | const ROCKSDB = { |
no test coverage detected