whisperity/CodeChecker Static Analysis

Execute C/C++ static analysis of LLVM/Clang (Clang Static Analyzer and Clang-Tidy) driven via CodeChecker.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
install-customWhether to download, check out, and build a CodeChecker package manually in the CI.yesfalse
repositoryThe CodeChecker repository to check out and build from.yesEricsson/CodeChecker
versionThe version of the CodeChecker suite to obtain and execute. Might be a Git commit SHA, a branch name, or a tag if building a custom package, or a release version if downloading from PyPI. If "master" and downloading from PyPI, fetch the latest release.yesmaster
llvm-versionThe major version of LLVM to install and use. LLVM is installed from the community PPA at http://apt.llvm.org. The value MUST be a major version (e.g. 13) that is supported by the PPA for the OS used! If "latest", automatically gather the latest version. If "ignore", do not install anything. (Not recommended.)yeslatest
configThe CodeChecker configuration JSON that contains for each CodeChecker action (analyze, parse, ...) the list of flags that should be appended to the invocation of the command.no
logfileThe location of the JSON Compilation Database for the project. This file describes how the project is compiled, and thus how it should be analysed. Mutually exclusive with "build-command".no
build-commandThe build command to execute and log for the creation of a JSON Compilation Database. Mutually exclusive with "logfile".no
analyze-outputThe output directory where the raw analysis output should be stored. If left the default empty, the path will be generated automatically.no""
ctuWhether to enable Cross Translation Unit (CTU) analysis in the Clang Static Analyzer.yesfalse
ignore-analyze-crashesIf set to "true", the "analyze" action will ALWAYS pass, and not report a failure if some analysis jobs fail to execute due to internal crashes in the Clang analysers.yestrue
report-converterWhether to perform report conversion from analyses executed by third-party analysers instead of driving the analysis via CodeChecker directly.yesfalse
original-analyserThe type of the third-party analyser which performed the analysis. Passed to the report converter executable, as a mandatory input parameter.no
original-analysis-outputThe location of the analysis data emitted by the third-party analyser. Passed to the report converter executable, as a mandatory input parameter.no
diffWhether to enable calculating the different of the current analysis results against a run stored on a CodeChecker server. If enabled, other flags, such as "diff-url" must also be set.yesfalse
diff-urlThe CodeChecker product URL (usually in the format of http://example.com/ProductName) where the diff should connect to. Mandatory if "diff" is true.no
diff-usernameIf the server requires authentication, the username to authenticate with.no
diff-passwordThe password (or generated private access token) corresponding to the user.no
diff-run-nameAn identifying name of the analysis run. A run usually correlates to a set of configuration, e.g. analysis mode, branch, etc. If left default, the name is automatically generated from the current repository and branch name.yes__DEFAULT__
storeWhether to enable storing the results to a CodeChecker server. If enabled, other flags, such as "store-url" must also be set.yesfalse
store-urlThe CodeChecker product URL (usually in the format of http://example.com/ProductName) where the store should connect to. Mandatory if "store" is true.no
store-usernameIf the server requires authentication, the username to authenticate with.no
store-passwordThe password (or generated private access token) corresponding to the user.no
store-run-nameAn identifying name of the analysis run. A run usually correlates to a set of configuration, e.g. analysis mode, branch, etc. If left default, the name is automatically generated from the current repository and branch name.yes__DEFAULT__
namedescription
codechecker-versionThe version of the installed CodeChecker package.
codechecker-hashThe Git hash of the installed CodeChecker package.
llvm-versionThe version of the installed LLVM package, if the install was requested.
logfileThe location of the JSON Compilation Database that was used for the analysis.
analyze-outputThe output directory where the raw analysis or converted output was stored to.
warningsWhether the static analyser(s) reported any findings.
result-logThe file where the output of CodeChecker parse is written to verbatim.
result-html-dirThe output directory where the user-friendly HTML reports were stored to.
diff-html-dirThe output directory where the user-friendly HTML reports about the new findings (if "diff" was enabled) were stored to.
diff-run-nameThe name of the analysis run against which the current reports were compared.
diff-result-logThe file where the output of CodeChecker cmd diff is written to verbatim.
warnings-in-diffWhether the current analysis produced any reports that were NEW, compared to the configured analysis run on the server.
store-run-nameThe name of the analysis run that the results were uploaded to.
store-successfulWhether storing the analysis results to the configured server was successful. Useful for breaking the build in a later step if the store action is deemed mandatory.