For code analysis goals I want to know some interesting statistics about my project. I.e. number of classes, methods, the longest class, the longest method etc etc. Is there any nice tool for this or maybe extension for Visual Studio?
I looked at codecity, but it can analyze only MSE files which I don’t have and has the worst interface I’ve seen for the past 5 years, but functionality nearly what I need.
To provide more info concerning the tool NDepend that P.Brian.Mackey mentioned, indeed the tool provides the weight code metrics you are looking for. (Disclaimer: I am a developer working on this tool).
With NDepend you can query with C# LINQ queries, the code metrics, and see the code elements matched. All this is integrated in Visual Studio.
The tool comes also with a code metric view, that is actually a treemap view. Rectangles on the treemap represents code elements (here methods) and the area of a rectangle is proportional to the code metric selected (here # lines of code per method). Code elements matched by the C# LINQ query are shown in blue on the treemap.