(self, params)
| 23 | |
| 24 | class JavaAPIFinderForFile(CodeLintModel): |
| 25 | def compile(self, params): |
| 26 | LogPrinter.info("Tool compile start.") |
| 27 | build_cmd = params.get("build_cmd") |
| 28 | if not build_cmd: |
| 29 | raise CompileTaskError("编译语言项目执行静态分析需要输入编译命令,请填入编译命令后重试!") |
| 30 | BasicCompile( |
| 31 | params, |
| 32 | sensitive=self.sensitive, |
| 33 | sensitive_word_maps=self.sensitive_word_maps, |
| 34 | build_cmd=BasicCompile.generate_shell_file(build_cmd), |
| 35 | ).compile() |
| 36 | LogPrinter.info("Tool compile done.") |
| 37 | return True |
| 38 | |
| 39 | def analyze(self, params): |
| 40 | source_dir = params["source_dir"] |
nothing calls this directly
no test coverage detected