(qualifiedName: string, limit = DEFAULT_LIMIT)
| 349 | |
| 350 | /** Outgoing invocations of a symbol, one row per distinct target. */ |
| 351 | export function callsOut(qualifiedName: string, limit = DEFAULT_LIMIT): string { |
| 352 | return `MATCH (a)-[r:${RELATIONS.invocation}]->(b)` |
| 353 | + ` WHERE a.${NODE_PROPS.qualifiedName} = "${escapeLiteral(qualifiedName)}"` |
| 354 | + ` ${ret(COLUMNS.callsOut)}` |
| 355 | + ` ORDER BY r.${REL_PROPS.line} LIMIT ${safeLimit(limit)}`; |
| 356 | } |
| 357 | |
| 358 | /** |
| 359 | * Outgoing invocations whose target is a class. The engine records a |
no test coverage detected