What tools do you use for Code Analysis of C/C++ projects?
This is a common questions a lot of teams have when we discuss Continuous Integration in C/C++.
I would recommend the following tools:
UPDATE: I strongly recommend looking at CppDepend (commercial), one stop solution for all kinds of metric. It has some very cool/useful features like Code Query Language, Customer Build Reporting, Comparing Builds, great visualization diagrams for dependency, treemaps, etc.
- Cyclomatic Complexity
- Code Coverage
- LOC Metric
- Copy Paste Detector – PMD – Open Source
Wikipedia page on Static Code Analysis Tools has a list of many more tools.