MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / analyze_c_file

Function analyze_c_file

codewiki/src/be/dependency_analyzer/analyzers/c.py:213–215  ·  view source on GitHub ↗
(file_path: str, content: str, repo_path: str = None)

Source from the content-addressed store, hash-verified

211 self._extract_relationships(child, top_level_nodes)
212
213 def _find_containing_function(self, node, top_level_nodes):
214 """Find the function that contains this node."""
215 current = node.parent
216 while current:
217 if current.type == "function_definition":
218 func_name = self._function_name(current)

Callers 1

_analyze_c_fileMethod · 0.90

Calls 1

TreeSitterCAnalyzerClass · 0.85

Tested by

no test coverage detected