Udostępnij za pośrednictwem


How to: List Scans and View Reports

You can identify issues with your deployment of Team Foundation by scanning it with the Best Practices Analyzer tool for Team Foundation Server. After you complete one or more scans, you can display a list of all completed scans, click a scan in the list, and then perform the following operations:

  • View a report of the scan

  • Export the scan

  • Delete the scan

  • Rename the scan

If you have scan data that is stored in a different directory, you can import the data so that the scan appears in the list.

For information about how to run a scan, see How to: Run a Scan. For information about the types of reports that you can view, see Reports that the Best Practices Analyzer Tool Generates.

Required Permissions

To perform these procedures, you must be a member of the Administrators security group on the computer where the Best Practices Analyzer tool for Team Foundation Server is installed.

To list scans and view a report

  1. Open the Best Practices Analyzer tool for Team Foundation Server.

  2. In the left-hand navigation bar, click Select a Best Practices Scan to view, and then click the scan for which you want to view reports or perform some other operation.

  3. In the scan details, click one of the following options:

    • View a report of this scan   If you click this option, the View Best Practices Report page opens, and you can use the tabs to browse the results in each report. In the results list, you can click a result to display more information about it.

      For information about what each type of report contains, see Reports that the Best Practices Analyzer Tool Generates. For information about how to prevent specific types of results from appearing in a report, see How to: Resolve and Hide Issues.

    • Export a scan   You can use this option to save the data that the scan generated to a different directory.

    • Delete a scan   You can use this option to delete all data that the scan generated.

      Note

      You can improve performance by periodically deleting scans that you no longer need.

    • Enter an identifying label for this scan   You can use this option to rename the scan.

To import data from a scan

  1. Open the Best Practices Analyzer tool for Team Foundation Server.

  2. In the left-hand navigation bar, click Select a Best Practices Scan to view.

  3. Click Import scan.

    The Import Scan window opens.

  4. Browse to the directory that contains the scan data that you want to import.

  5. Click the appropriate data.xml file, and then click Open.

    The View Best Practices Report page appears with the reports for the scan that you imported.

See Also

Tasks

How to: Open the Best Practices Analyzer Tool

How to: Run a Scan

How to: List Scans and View Reports

How to: Resolve and Hide Issues

Concepts

Rule Checking Performed by the Best Practices Analyzer Tool

Reports that the Best Practices Analyzer Tool Generates

Other Resources

Using the Best Practices Analyzer Tool