I am regularly using static checking of the code I write. For C++, I tried cppcheck for a project dedicated to the simulation of electromagnetic field propagation in a structure. I was pleased to see that I was able to compile and run cppcheck in a few minutes. It effectively found a few issues in the code and allowed me to fix it quite rapidly.
Static checking does not allow to find every possible issue, but tools like cppcheck are definitely worth using, in conjunction with dynamic test software such as valgrind.