Free metrics tools for .NET code
One can easily find a good list of metrics collection tools for .NET code at SharpToolbox (these are just those which are free or have a free version). But those short descriptions are not a good enough starting point for you. To get a practical taste of the tools, take a look at the excellent series by Robin Curry, starting with an overview and going through NDepend, vil and SourceMonitor. I have tried only NDepend in action and it does pretty interesting stuff (much more than metrics), though vil is a specialized tool supports much more metrics. SourceMonitor is the only one working on source code versus on IL.
Jeff Atwood also mentions most of the leading tools on the market here. From that list I have tried:
- DevMetrics produces a nice and simple drill-down HTML file with metrics by projects and classes (the community version is free, but if you want to use the SDK, it is for a fee)
- CRPlugin (plugin for DxCore) is a nice free tool to work within VS.NET that implements an interesting method complexity metric described by Mark Miller here. DxCore is quite interesting platform for development and I might consider doing something on top of it.
- Reflector.CodeMetrics (an add-in for Reflector) - produces metrics for IL count, members count, methods and modules that can be saved later as XML.