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

Method analyze

client/tool/jafc_beta.py:41–54  ·  view source on GitHub ↗
(self, params)

Source from the content-addressed store, hash-verified

39 return True
40
41 def analyze(self, params):
42 source_dir = params["source_dir"]
43 work_dir = params.work_dir
44 self.out_dir = params["work_dir"]
45
46 loong = Loong(
47 dbdir=work_dir,
48 project_root=source_dir,
49 jar_mode=False,
50 )
51 loong.parse()
52 result = loong.scan()
53
54 return result
55
56
57tool = JavaAPIFinderForCode

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
scanMethod · 0.95
LoongClass · 0.90

Tested by

no test coverage detected