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

Method run

client/tool/checkstyle.py:391–399  ·  view source on GitHub ↗
(self, toscans)

Source from the content-addressed store, hash-verified

389 self.mutex.release() # 解锁
390
391 def run(self, toscans):
392 # 多线程执行类
393 callback_queue = CallbackQueue(min_threads=20, max_threads=1000)
394 LogPrinter.info("toscans : %s" % toscans)
395 for path in toscans:
396 LogPrinter.info("path: %s" % path)
397 callback_queue.append(self.__scan_file_callback_, path)
398 callback_queue.wait_for_all_callbacks_to_be_execute_and_destroy()
399 return self.issues
400
401
402tool = CheckStyle

Callers 1

analyzeMethod · 0.45

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected