This is the Trace Id: 6ca635297b149360d641bd2b7bf02769
Skip to main content Microsoft 365 Office Azure Copilot Windows Xbox Support Windows Apps OneDrive Outlook Moving from Skype to Teams OneNote Microsoft Teams Shop Xbox Accessories Xbox games Microsoft AI Microsoft Security Azure Dynamics 365 Microsoft 365 for business Microsoft Power Platform Windows 365 Digital Sovereignty Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Visual Studio Marketplace Rewards Free downloads & security Education Gift cards Licensing View Sitemap

Visual Studio Code Metrics Powertool for Visual Studio 2013

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:

    2013

    Date Published:

    7/15/2024

    File Name:

    VS_CodeMetrics.exe

    File Size:

    559.1 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 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
    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