(result)
| 94 | |
| 95 | |
| 96 | def _calls(result): |
| 97 | nodes = {n["id"]: n for n in result["nodes"]} |
| 98 | return {(nodes[e["source"]].get("label"), nodes[e["source"]].get("source_file"), |
| 99 | nodes[e["target"]].get("label"), nodes[e["target"]].get("source_file")) |
| 100 | for e in result["edges"] |
| 101 | if e["relation"] == "calls" and e["source"] in nodes and e["target"] in nodes} |
| 102 | |
| 103 | |
| 104 | LIB = "class Inner:\n @staticmethod\n def go():\n return 1\n" |
no test coverage detected