How to analyze project

Procedure

  • Step 1
Right click on the project and select [Context Menu] > [Code Analysis].
Analyze project
  • Step 2
Wait for the code analysis to complete.
Code analysis progress
  • Step 3
After analyzing, code inspection result and code metrics calculation result are shown.
Code analysis result

Perform only code inspection or code metrics calculation

You can also use [More Tasks...] > [Inspect Project] and [More Tasks...] > [Calculate Metrics] to perform only code inspection or code metrics calculation.
More tasks

Change [Code Analysis] command behavior

By default, the [Code Analysis] command performs both code inspection and code metrics calculation. But you can change the behavior of this command from FxCop Integrator option page.

Analyze multiple project

FxCop Integrator supports multiple project analysis.
Multiple project analysis

Analyze specific type (C# and VB.NET only)

FxCop Integrator also supports specific type analysis.
When you select files and perform code analysis, FxCop Integrator detects types that are defined selected files and analyzes their types only.
Note that this feature only supports code inspection because Code Metrics PowerTool 10.0 doesn't support to calculate metrics of specific types.
Specific type analysis

Older version

Last edited Dec 4, 2011 at 11:42 AM by sasaminn, version 9

Comments

No comments yet.