MCPcopy Create free account
hub / github.com/Persper/code-analytics / _get_xml_root

Method _get_xml_root

persper/graphs/call_commit_graph.py:170–176  ·  view source on GitHub ↗
(self, commit, fname)

Source from the content-addressed store, hash-verified

168 return False
169
170 def _get_xml_root(self, commit, fname):
171 if self.lang == 'c':
172 return transform_src_to_tree(
173 get_contents(self.repo, commit, fname))
174 elif self.lang == 'java':
175 return transform_src_to_tree(
176 get_contents(self.repo, commit, fname), ext='.java')
177
178 def _first_phase(self, diff, commit, is_merge_commit,
179 old_fname=None, new_fname=None):

Callers 3

_start_process_commitMethod · 0.95
_first_phaseMethod · 0.95
_second_phaseMethod · 0.95

Calls 2

transform_src_to_treeFunction · 0.90
get_contentsFunction · 0.90

Tested by

no test coverage detected