MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / get_result

Method get_result

client/node/quicktask/quickscan.py:257–270  ·  view source on GitHub ↗
(proj_scan_succ, error_code, error_msg)

Source from the content-addressed store, hash-verified

255
256 @staticmethod
257 def get_result(proj_scan_succ, error_code, error_msg):
258 if proj_scan_succ:
259 status = StatusType.SUCCESS
260 text = "分析成功"
261 else:
262 status = StatusType.ERROR
263 text = "分析异常"
264 scan_result = {
265 "status": status,
266 "error_code": error_code,
267 "text": text,
268 "description": error_msg,
269 }
270 return scan_result
271
272 def generate_qucik_scan_report(self, scan_path_info, result, task_result_paths, task_rules):
273 """

Callers 1

_scan_projectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected