Free Code Metrics Power Tool
Friday, 28 January 2011

A free code metrics tool from Microsoft - but be warned it's not user-friendly.

if you make use of code metrics then it is worth knowing that version 10 of the Visual Studio Code Metrics PowerTool is now available at the Microsoft Download Center.

The Code Metrics PowerTool is a command line utility that calculates code metrics for your managed code and saves them to an XML file.

It 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
  • Lines Of Code (LOC)

When you have completed the installation you will find two new files in the FxCop directory. Simply type Metrics at the command prompt and you will see a list of possible commands. It isn' the easiest tool to use and you'll need to spend some time adding it to the external tools menu of Visual Studio.

VS

Dowload Code Metrics PowerTool here

Books

Professional Visual Studio 2010

Practical Code Generation in .NET

 

Banner


Acquire New Skills With Coursera Plus & Coursera Coach
21/11/2025

Coursera is currently offering a whopping 40% discount on the cost of an annual subscription to Coursera Plus. And we've found yet another reason to recommend it - Coursera Coach powered by Google Gem [ ... ]



Edera Open Sources Sprout
13/11/2025

Edera has announced an open source version of Sprout, a bootloader built in Rust. The security specialists also announced success in penetration testing and integration with Falco. The announceme [ ... ]


More News

<ASIN:0470548657>

<ASIN:0672330814>

<ASIN:0071668950>

<ASIN:0071604081>

Last Updated ( Wednesday, 02 February 2011 )