Since yesterday, I have been analyzing one of our projects with Ndepend (free of charge for most of its functions), and I use this and much more more. I doubt the real value of this type of software (code analysis software).
Let me explain: the system builds a report on the state of the system and class by the rank of each metric. I thought that would be a good starting point for making changes, but most of the best results are here because they have more than 100 lines inside the class (we have large headers and we use VS comment styles), so that doesn't matter. than the number of levels of Afferent Coupling (CA) is always too large, and this is almost true for the interface that we used a lot ... so at this moment I do not see anything bad, but NDepend does not seem to like it (if you have a suggestion to improve tell me because I don't see the need). This is the same for the metric called "NOC" for the number of children, that most of my interface is too high ...
At the moment, the only very useful metric is Cyclomatic Complexity ...
My question is . Do you find it worth analyzing your code with an automated code analyzer like NDepend? If so, how do you filter all the information that I mentioned that does not actually show the real state of the system?
source
share