zserio
zserio copied to clipboard
Consider to remove cppcheck static analysis tool
We have started to use clang-tidy static analysis tool for C++ (please see issue #492).
So, currently we are using two different C++ static analysis tools. Because 'cppcheck' seems to be simplier and gives more false positive, consider to remove cppcheck
completely. This will save effort during regular update of cppcheck
version.
We have found out that the cppcheck can catch some Misra guideline while clang-tidy or compiler does not. For example:
"A function shall not contain unreachable statements"
Therefore, we will keep cppcheck until we found some open source possibility how to check Misra C++ 2023 guidelines.
We will use SonarCloud instead. We can get rid of that.