(path: Path, base: Path)
| 10 | |
| 11 | |
| 12 | def _call_edges(path: Path, base: Path) -> set[tuple[str, str]]: |
| 13 | result = extract([path], root=base, cache_root=base, parallel=False) |
| 14 | label = {node["id"]: node["label"] for node in result["nodes"]} |
| 15 | return { |
| 16 | (label.get(edge["source"], edge["source"]), label.get(edge["target"], edge["target"])) |
| 17 | for edge in result["edges"] |
| 18 | if edge["relation"] in ("calls", "indirect_call") |
| 19 | } |
| 20 | |
| 21 | |
| 22 | def test_lua_self_colon_call_resolves_to_sibling_method(tmp_path): |
no test coverage detected