Partager via


Cool tool: NDepend

I just saw a free cool tool, NDepend, which analyzes .NET assemblies and lets you get neet metrics. It also lets you run queries like:

WARN IF Count > 0 IN SELECT TYPES OUT OF NAMESPACES "System.Xml"
WHERE DepthOfIsUsing "System.Xml.XmlChildNodes" == 1
// Restrict the possibility to use the type "System.Xml.XmlChildNodes"
// only to certain namespace.
 

It also has a GUI front end:

The tool was written by Patrick Smacchia, who wrote Practical .NET2 and C#2, which I blogged about earlier.

Comments

  • Anonymous
    August 09, 2006
    The comment has been removed
  • Anonymous
    August 11, 2006
    Can you immagine an VS addin that uses this type of syntax for its Search functionality?
  • Anonymous
    August 11, 2006
    JConwell - It would definitely be cool if VS had this sort of search. I'd love to see this sort of seach possible on the managed heap as well ("find me all objects whose total size > 100k").