This is just a small note about the options of the different C++ compilers to do a static code analysis. This are different from the standard compiler warnings and are in principle similar to Coverity, PVS-Studio and CodeQL scanners that we have already been running in the past. Since this are part of the standard compilers I do not plan to make regular reports with them, as with the other tools, but it can be good if developers run this for themselves from time to time…
msvc /analyze
Code analysis for C/C++ overview
https://docs.microsoft.com/en-us/cpp/code-quality/code-analysis-for-c-cpp-overview?view=msvc-160
/analyze (Code analysis)
https://docs.microsoft.com/en-us/cpp/build/reference/analyze-code-analysis?view=msvc-160
clang scan-build
Clang Static Analyzer
https://clang-analyzer.llvm.org/
gcc -c -fanalyzer
Static analysis in GCC 10
https://developers.redhat.com/blog/2020/03/26/static-analysis-in-gcc-10/
_A general post about the security and code quality tools https://forum.freecadweb.org/viewtopic.php?f=10&t=32602#p274069_
