Files
tfm_ainventory/graphify-out/cache/e68f59f6a1f49030f402356b253ed7ce0ee284a2e92895a7964dd9dca5333a54.json

1 line
19 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "label": "bytecode.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L1"}, {"id": "bytecode_byteparser", "label": "ByteParser", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L17"}, {"id": "bytecode_byteparser_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L20"}, {"id": "bytecode_byteparser_child_parsers", "label": "._child_parsers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L32"}, {"id": "bytecode_byteparser_code_objects", "label": ".code_objects()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L45"}, {"id": "bytecode_byteparser_line_numbers", "label": "._line_numbers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L57"}, {"id": "bytecode_byteparser_find_statements", "label": ".find_statements()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L66"}, {"id": "bytecode_bytes_to_lines", "label": "bytes_to_lines()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L78"}, {"id": "bytecode_op_set", "label": "op_set()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L88"}, {"id": "bytecode_instructionwalker", "label": "InstructionWalker", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L118"}, {"id": "bytecode_instructionwalker_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L127"}, {"id": "bytecode_instructionwalker_walk", "label": ".walk()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L138"}, {"id": "bytecode_branch_trails", "label": "branch_trails()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L163"}, {"id": "bytecode_always_jumps", "label": "always_jumps()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L243"}, {"id": "bytecode_rationale_18", "label": "Parse bytecode to understand the structure of code.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L18"}, {"id": "bytecode_rationale_33", "label": "Iterate over all the code objects nested within this one. The iteration", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L33"}, {"id": "bytecode_rationale_46", "label": "Iterate over all the code objects in `code`.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L46"}, {"id": "bytecode_rationale_58", "label": "Yield the line numbers possible in this code object. Uses co_lines() to", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L58"}, {"id": "bytecode_rationale_67", "label": "Find the statements in `self.code`. Produce a sequence of line numbers", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L67"}, {"id": "bytecode_rationale_79", "label": "Make a dict mapping byte code offsets to line numbers.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L79"}, {"id": "bytecode_rationale_89", "label": "Make a set of opcodes from instruction names. The names might not exist in", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L89"}, {"id": "bytecode_rationale_119", "label": "Utility to step through trails of instructions. We have two reasons to need", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L119"}, {"id": "bytecode_rationale_141", "label": "Yield instructions starting from `start_at`. Follow unconditional jumps", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L141"}, {"id": "bytecode_rationale_167", "label": "Calculate branch trails for `code`. `multiline_map` maps line numbers to th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L167"}, {"id": "bytecode_rationale_244", "label": "Make a map of unconditional bytecodes jumping to others. Only include bytec", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L244"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "collections", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "dis", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "coverage_types", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_byteparser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L17", "weight": 1.0}, {"source": "bytecode_byteparser", "target": "bytecode_byteparser_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L20", "weight": 1.0}, {"source": "bytecode_byteparser", "target": "bytecode_byteparser_child_parsers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L32", "weight": 1.0}, {"source": "bytecode_byteparser", "target": "bytecode_byteparser_code_objects", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L45", "weight": 1.0}, {"source": "bytecode_byteparser", "target": "bytecode_byteparser_line_numbers", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L57", "weight": 1.0}, {"source": "bytecode_byteparser", "target": "bytecode_byteparser_find_statements", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L66", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_bytes_to_lines", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L78", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_op_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L88", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_instructionwalker", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L118", "weight": 1.0}, {"source": "bytecode_instructionwalker", "target": "bytecode_instructionwalker_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L127", "weight": 1.0}, {"source": "bytecode_instructionwalker", "target": "bytecode_instructionwalker_walk", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L138", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_branch_trails", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L163", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_coverage_bytecode_py", "target": "bytecode_always_jumps", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L243", "weight": 1.0}, {"source": "bytecode_byteparser_child_parsers", "target": "bytecode_byteparser", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L43", "weight": 1.0}, {"source": "bytecode_byteparser_child_parsers", "target": "bytecode_byteparser_code_objects", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L43", "weight": 1.0}, {"source": "bytecode_byteparser_find_statements", "target": "bytecode_byteparser_child_parsers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L73", "weight": 1.0}, {"source": "bytecode_byteparser_find_statements", "target": "bytecode_byteparser_line_numbers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L75", "weight": 1.0}, {"source": "bytecode_branch_trails", "target": "bytecode_instructionwalker", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L186", "weight": 1.0}, {"source": "bytecode_branch_trails", "target": "bytecode_instructionwalker_walk", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L187", "weight": 1.0}, {"source": "bytecode_always_jumps", "target": "bytecode_instructionwalker", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L249", "weight": 1.0}, {"source": "bytecode_always_jumps", "target": "bytecode_instructionwalker_walk", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L250", "weight": 1.0}, {"source": "bytecode_rationale_18", "target": "bytecode_byteparser", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L18", "weight": 1.0}, {"source": "bytecode_rationale_33", "target": "bytecode_byteparser_child_parsers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L33", "weight": 1.0}, {"source": "bytecode_rationale_46", "target": "bytecode_byteparser_code_objects", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L46", "weight": 1.0}, {"source": "bytecode_rationale_58", "target": "bytecode_byteparser_line_numbers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L58", "weight": 1.0}, {"source": "bytecode_rationale_67", "target": "bytecode_byteparser_find_statements", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L67", "weight": 1.0}, {"source": "bytecode_rationale_79", "target": "bytecode_bytes_to_lines", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L79", "weight": 1.0}, {"source": "bytecode_rationale_89", "target": "bytecode_op_set", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L89", "weight": 1.0}, {"source": "bytecode_rationale_119", "target": "bytecode_instructionwalker", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L119", "weight": 1.0}, {"source": "bytecode_rationale_141", "target": "bytecode_instructionwalker_walk", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L141", "weight": 1.0}, {"source": "bytecode_rationale_167", "target": "bytecode_branch_trails", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L167", "weight": 1.0}, {"source": "bytecode_rationale_244", "target": "bytecode_always_jumps", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L244", "weight": 1.0}], "raw_calls": [{"caller_nid": "bytecode_byteparser_init", "callee": "compile", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L29"}, {"caller_nid": "bytecode_byteparser_code_objects", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L51"}, {"caller_nid": "bytecode_byteparser_code_objects", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L53"}, {"caller_nid": "bytecode_byteparser_code_objects", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L54"}, {"caller_nid": "bytecode_byteparser_line_numbers", "callee": "co_lines", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L62"}, {"caller_nid": "bytecode_bytes_to_lines", "callee": "co_lines", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L81"}, {"caller_nid": "bytecode_bytes_to_lines", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L83"}, {"caller_nid": "bytecode_op_set", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L93"}, {"caller_nid": "bytecode_instructionwalker_init", "callee": "get_instructions", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L132"}, {"caller_nid": "bytecode_instructionwalker_walk", "callee": "set", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L145"}, {"caller_nid": "bytecode_instructionwalker_walk", "callee": "add", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L150"}, {"caller_nid": "bytecode_instructionwalker_walk", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L151"}, {"caller_nid": "bytecode_branch_trails", "callee": "defaultdict", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L185"}, {"caller_nid": "bytecode_branch_trails", "callee": "defaultdict", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L185"}, {"caller_nid": "bytecode_branch_trails", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L198"}, {"caller_nid": "bytecode_branch_trails", "callee": "defaultdict", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L227"}, {"caller_nid": "bytecode_branch_trails", "callee": "add_one_branch_trail", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L228"}, {"caller_nid": "bytecode_branch_trails", "callee": "add_one_branch_trail", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L229"}, {"caller_nid": "bytecode_branch_trails", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L236"}, {"caller_nid": "bytecode_branch_trails", "callee": "update", "source_file": "backend/venv/lib/python3.12/site-packages/coverage/bytecode.py", "source_location": "L238"}]}