Closed hewigovens closed 3 years ago
cmake "-DCMAKE_CXX_CPPCHECK=/usr/bin/cppcheck;--std=c++17;--enable=warning"
Current status:
Some lint scripts exists, but they are not set up correctly, tools not installed, not integrated into the pipeline.
Scripts (in tools):
Script invocations in the pipeline:
Test and chose the more appropriate: clang-tiny
or cppcheck
.
Setup exception list, fix major deviations, and include check in CI pipeline.
One comparison of C++ static code analyzers: https://www.slant.co/topics/263/~best-open-source-c-static-analysis-tools
GitHub has https://securitylab.github.com/tools/codeql and action, maybe we can setup this one (security)
clang-tidy or cppcheck