CodeMetrics

The CodeMetrics add-in analyses and computes several code quality metrics on your assemblies. This add-in uses Reflector to compute classic metrics such as cyclomatic complexity or more straightforward ones such as the number of local variables in a method. All results can be saved to a file.

The menu item to start this add-in is registered under the 'Tools' menu.

Tip: When you explore the result, you can double-click on an item to show the item in the browser window.

Tip: Selecting a column will size the items in the tree map tothe values in that column. Using shift+click will assign the values as colors.

Download here.

Screenshot.png
Last edited May 21 2007 at 7:53 AM by lutzroeder, version 10
Comments
sirl Aug 10 2007 at 7:01 PM 
Excellent and easy to use. How is code size calculated? Is it number of lines of code?

expresso Jun 17 at 5:28 PM 
There needs to be way more explanation as it relates to this tool in reflector on the columns above. While I could go to Wikipedia to understand the definition of Cyclomatic complexity, I don't know what Weight means in this tool.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987