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 6:53 AM by lutzroeder, version 10

Comments

expresso Jun 17, 2009 at 4: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.

sirl Aug 10, 2007 at 6:01 PM 
Excellent and easy to use. How is code size calculated? Is it number of lines of code?