Fog Creek Software
Discussion Board




C++ static code analysis

I would like to know what tools are you guys using for this purpose.  Is it worth the investment ? Has someone done some sort of comparison between the various tools like Code wizard, QAC++ etc ? Is it going to help if we want to standardize the coding practice in a company of say 500 developers ?

curious
Wednesday, January 29, 2003

Well, I used PC-Lint for a while, which checks C++ code very thoroughly, and personally I liked it. It really demands a lot of discipline from the programmers though, if you do not want to drown in warning messages. Furthermore it has (or at least had, I do not know about newer versions) problems with pathnames with spaces in it, since it is completely command line based. I had to rename some directories to be able to use it.

There is an integration vor VC6 which works ok (it is not very comfortable though), here again I do not know about upgrades to VC7.

Summary: PC-Lint rocks on the code checking side, but lacks usability

Have fun,

Jutta Jordans
Friday, January 31, 2003

Hmm, I found that PC-Lint really had trouble with the more advanced idioms that I reach for on a regular basis.

I certainly can't recall an instance where a PC Lint complaint revealed a bug.

Danil
Friday, January 31, 2003

Whoever posted this topic was not me,
just using the same value for "Full Name"
I'm going to have to switch to using
"original curious" or something.

Curious
Saturday, February 01, 2003

I found CodeWizard pretty helpful

Hans
Thursday, February 06, 2003

*  Recent Topics

*  Fog Creek Home