Skip to content

how to log python file #3497

Discussion options

You must be logged in to vote

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 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by csordasmarton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3487 on November 15, 2021 13:36.