(label)
| 54 | r = extract([tmp_path / n for n in files], cache_root=Path(tempfile.mkdtemp()), |
| 55 | root=tmp_path, parallel=False) |
| 56 | def norm(label): |
| 57 | return str(label).strip(".").removesuffix("()") |
| 58 | labels = {n["id"]: norm(n["label"]) for n in r["nodes"]} |
| 59 | return {(labels.get(e["source"]), labels.get(e["target"])) |
| 60 | for e in r["edges"] if e.get("relation") == "calls"}, r |
no outgoing calls
no test coverage detected