I find the analyzers somewhat useful, I use buildin for visual studio (e.g. / for c / C ++ and custom rules for .net), sometimes I use stylecop and codeitright for C # mainly for guidance on how things should be.
I do not think that there is an ideal tool for everything that every bug finds, but I think that the tools help to find some errors, and not impossible to track, but believe me, you would spend a lot of time finding them.
Yes, the quality of your SOMEWHAT code is better than before, but I also believe that manual debugging is still necessary. Source analyzers are not the ultimate cure, although they are a good cure. If there was a tool that you just completed and found any errors and corrections, then it will cost you millions.
Some programmers I know swear that IBM Rational PurifyPlus is excellent, but that's their opinion. I just spent 2-3 sessions with the tool.
But always remember that one of the basic principles of programming logical errors is the most difficult to find and fix, so long hours of debugging are inevitable. A good code analyzer combined with unit testing can work on miracles.
PS. I tend to give far fewer errors in C # than in C ++, someone may say that I am wrong, but although I have been using C ++ for more years than C #, I find the "code and I will take care of this "C # gc approach is much simpler than C ++ especially for projects you are in a hurry to finish on time / deadline, which EVERY project is like these days ...
Smeyers
source share