This is the Trace Id: 9d6865fa2f423f308db7e0f6294389a1

Bring the world closer with Bing Wallpaper

Download the free app and enjoy breathtaking views with a new background each day.
A laptop displaying a colorful seascape from Bing Wallpaper.

Visual Studio Code Metrics Powertool for Visual Studio 2015

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

Important! Selecting a language below will dynamically change the complete page content to that language.

Download
  • Version:

    11.0

    Date Published:

    7/15/2024

    File Name:

    VS_CodeMetrics.exe

    File Size:

    585.4 KB

    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)
  • Supported Operating Systems

    Windows 10, Windows 8.1, Windows Server 2012 R2

    Supported architectures:
    • 32-Bit (x86)
    • 64-Bit (x64) (WOW)
    Prerequisites:
    • Visual Studio 2015 Professional or Visual Studio Enterprise 2015 or Visual Studio Community 2015
    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 14.0\Team Tools\Static Analysis Tools\FxCop
    4. Run metrics.exe /? to view the documentation for the tool

Follow Microsoft