MCPcopy Create free account
hub / github.com/Tencent/CodeAnalysis / analyze

Method analyze

client/tool/jaff_beta.py:34–46  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

32 return True
33
34 def analyze(self, params):
35 source_dir = params["source_dir"]
36 work_dir = params["work_dir"]
37
38 loong = Loong(
39 dbdir=work_dir,
40 project_root=source_dir,
41 jar_mode=True,
42 )
43 loong.parse()
44 result = loong.scan()
45
46 return result
47
48 def set_blame_type(self):
49 return FILE_LAST_CHANGE_BLAME

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
scanMethod · 0.95
LoongClass · 0.90

Tested by

no test coverage detected