Microsoft Download Center Archive

Visual Studio Code Metrics Powertool for Visual Studio 2013

  • Published:
  • Version: 2013
  • Category: Tool
  • Language: English

Command line utility to calculate code metrics for your .NET code

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

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

FileSize
VS_CodeMetrics.exe
SHA1: c95ec7cc2b29b86cccc667286dc0da6d060d60b1
354 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

  • Supported architectures:
    • 32-Bit (x86)
    • 64-Bit (x64) (WOW)
    Prerequisites:
    • Visual Studio 2013 Ultimate or Visual Studio 2013 Premium or Visual Studio 2013 Professional

Installation Instructions

    1. Click the download button on this page to start the download
    2. Run the VS_CodeMetrics.exe installer
    3. Open the command line and navigate to ...\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop
    4. Run metrics.exe /? to view the documentation for the tool