Microsoft Download Center Archive
![]() | Visual Studio Code Metrics PowerTool 11.0 |
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: DeletedThis download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to August 2020. |
File | Size |
---|---|
![]() SHA1: 5b11852d860cfc9b3037969cf2d90ab840ec0c1c | 57 KB |
System Requirements
Operating Systems: Windows 7, Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
- Supported architectures:
- 32-Bit (x86)
- 64-Bit (x64) (WOW)
- Visual Studio 2012 Ultimate or Visual Studio 2012 Premium or Visual Studio 2012 Professional
Installation Instructions
- Click the download button on this page to start the download
- Run the self extracting MetricsPowerTool.exe
- Copy the metrics.exe into the FxCop directory in the Visual Studio installation (...\Microsoft Visual Studio 11.0\Team Tools\Static Analysis Tools\FxCop)
- Run metrics.exe /? to view the documentation for the tool