Expand Minimize

FxCop Metrics

Runs FxCop Metrics analysis tool to calculate code metrics for your .NET code.

Intention

FxCop Metrics 10.0 has to be downloaded and installed separately and can be retrieved from here:
http://www.microsoft.com/en-us/download/details.aspx?id=38196

How is FxCop Metrics integrated

FxCop Metrics is a separate tool which is installed into the same directory as FxCop. If FxCop Metrics is installed SPCAF uses the command line tool Metrics.exe. All assemblies of WSP packages are then analyzed with FxCop Metrics and the results are integrated into the SPCAF reports.

Configure FxCop Metrics

The integration of FxCop Metrics into SPCAF can be adjusted by several configuration parameters. The parameters allow changing for instance the path to FxCop Metrics. For a list of all configurable parameters refer to the SPCAF rule which integrates FxCop Metrics.

Index

Rule Description Type Severity
FXM360201: Assembly should contain no problems which are detected with Microsoft FxCopMetrics The assembly will be checked with Microsoft FxCopMetrics for potential problems (if the tool is installed) Assembly Error
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.