Comparison of static code analysis tools in Linux?

Makis picture Makis · Jun 15, 2009 · Viewed 9.4k times · Source

Has anyone done any comparisons on static code analysis tools available to Linux? What are the strengths and weaknesses of the following tools:

  • Lintian,
  • Sparse,
  • Splint,
  • RATS,
  • Using the -Wall option.

Would you consider that using just one of these tools is adequate?

I'm not looking for recommendations (I can find plenty of those) but direct comparisons between available tools.

Answer

hlovdal picture hlovdal · Jun 17, 2009

There is of course the wikipedia list. That list is just that, a list, and not a comparison, but one of the links on the page seems to at least partially answer your question and (very briefly) mentions a couple of the programs you listed.