NDepend 30 a must have tool

I’m exploring the new capabilities of NDepend 3.0, and the very first interesting stuff is that I’m now able in VS2010 to add a NDepend project to the solution, so I’m able to manage ndepend project properties inside from VS.

image

I can drag and drop project inside the windows to add and remove project from the analysis, and this is very productive. After you run the analysis you can navigate into the result, as an example you can choose from the NDepend menu the CQL explorer

image

The CQL language is one of the feature I like most, because they immediately points out possible problems in the code. The query that are included with a base project are good, but the best stuff is that you have intellisense to modify them

image

As an example if I run the query to identify the top 10 types that have more than 20 methods I found a lot of Dataset classes, So I modify the CQL query adding this

image

I decided to exclude every class that have the string dataset in the name or namespace, and report classes. Now I can save the query and find the real types that can give me problem :). And this is only the surface of what NDepend can do for you.

Alk.