Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 7 rated this helpful - Rate this topic

How to: Generate Code Metrics Data

You can decide to generate code metrics results for either an entire solution or a selected project.

To generate code metrics results for an entire solution

  • Click Analyze menu, and then click Calculate Code Metrics for Solution.

    - or -

  • In Solution Explorer, right-click the solution and then click Calculate Code Metrics.

    - or -

  • In the Code Metrics Results window, click the Calculate Code Metrics for Solution button.

    The results are generated and the Code Metrics Results window is displayed.

To generate code metrics results for one or more selected projects

  1. In Solution Explorer, select one or more projects.

  2. Click Analyze, and then click Generate Code Metrics for Selected Projects(s).

    - or -

    Right-click your selections and then click Calculate Code Metrics.

The results are generated and the Code Metrics Results window is displayed.

To view the results details

  • Expand the tree in the Hierarchy column.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.