how to log python file #3497
-
Describe the bug CodeChecker version To Reproduce Expected behaviour Desktop (please complete the following information) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For other analyzers we created a simple tool which can be used to convert an analyzer output to CodeChecker specific output. For example if you would like to run a python specific analyzer such as pylint you can do it on the following way: https://github.com/Ericsson/codechecker/blob/master/docs/tools/report-converter.md#pylint |
Beta Was this translation helpful? Give feedback.
CodeChecker log
can be used to catch C/C++ compiler calls (g++, gcc, clang) and it will create a compilation database.CodeChecker analyze
will work with this compilation database and it will create analyzer result files (basically plist files) to a given directory (report directory). These result files can be parsed on the CLI (CodeChecker parse) or can be stored to a running CodeChecker server. This approach will work only if you want to run Clang Tidy or Clang SA analyzers.For other analyzers we created a simple tool which can be used to convert an analyzer output to CodeChecker specific output. For example if you would like to run a python specific analyzer such as pylint you can do …