(result, caller)
| 17 | |
| 18 | |
| 19 | def _calls(result, caller): |
| 20 | nodes = {n["id"]: n for n in result["nodes"]} |
| 21 | caller_ids = {n["id"] for n in nodes.values() if n["label"] == caller} |
| 22 | return [nodes[e["target"]] for e in result["edges"] |
| 23 | if e["relation"] == "calls" and e["source"] in caller_ids] |
| 24 | |
| 25 | |
| 26 | def test_template_declarations_and_definitions_keep_their_class(tmp_path): |
no outgoing calls
no test coverage detected