MCPcopy Create free account
hub / github.com/tirth8205/code-review-graph / _make_func_node

Method _make_func_node

tests/test_graph.py:27–33  ·  view source on GitHub ↗
(self, name="my_func", path="/test/file.py", parent=None, is_test=False)

Source from the content-addressed store, hash-verified

25 )
26
27 def _make_func_node(self, name="my_func", path="/test/file.py", parent=None, is_test=False):
28 return NodeInfo(
29 kind="Test" if is_test else "Function",
30 name=name, file_path=path,
31 line_start=10, line_end=20, language="python",
32 parent_name=parent, is_test=is_test,
33 )
34
35 def _make_class_node(self, name="MyClass", path="/test/file.py"):
36 return NodeInfo(

Callers 7

test_remove_file_dataMethod · 0.95
test_search_nodesMethod · 0.95
test_get_statsMethod · 0.95
test_impact_radiusMethod · 0.95

Calls 1

NodeInfoClass · 0.90

Tested by

no test coverage detected