Overview 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) Top of page System requirements