The Code Metrics PowerTool is a command line utility that calculates code metrics for your managed code and saves them to an XML file. This tool enables teams to collect and report code metrics as part of their build process. The code metrics calculated are Maintainability Index, Cyclomatic Complexity, Depth of Inheritance, Class Coupling, and Lines Of Code (LOC).
Windows Server 2008
||Visual Studio 2010 Ultimate or Visual Studio 2010 Premium or Team Foundation Server 2010.