Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Code metrics available in Orcas March CTP

The FxCop team announced that the new CTP of Orcas now has code metrics.  I have the VPC setup for the latest CTP, but have not dove into it yet to check out the new features.  But from reading what the FxCop team has put up, this is certainly good news.  I currently use CodeRush to watch things like CC in my apps via a docked window.

However, VS code metrics have a long, long ways to go before its going to be something that I use for serious analysis.  That’s where NDepend comes in.  NDepend supplies over 60 quality and useful code metrics, and also has its own query language that Patrick calls CQL.  Its easy to use and is part of my formal build process.  Its going to be very hard for anything to dethrone NDepend as the king of code metrics.

Its certainly nice to see that over the past several years MS is making strides to catch up to the tools that are out there.  Orcas is supplying code metrics and will have some sort of continuous integration built into the next version of TFS, but I don’t know exactly what all that entails.

Sorry VS team, I know you’re trying, but you still can’t compete with NDepends for full bore code metrics, but it does seem useful to use as a “quick look” tool at some basic metrics.

This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

One Response to Code metrics available in Orcas March CTP

  1. Oege de Moor says:

    .QL is another code query language. It is similar to that of NDepend, but crucially it is object-oriented, allowing for more reusable queries, and also enabling better autocompletion during query writing. SemmleCode is currently only available for Eclipse and Java, but if there is sufficient interest, a .NET version should be available soon, as all underlying technology is language-independent.

    See http://semmle.com for further information, tutorials, language spec of .QL and free downloads.

Leave a Reply