Generating a web-based code coverage report

About this task

You can select one or more results to generate a web-based code coverage report. In the report, code coverage data from multiple results is merged and displayed together.

Procedure

  1. In the Code Coverage Results view, select one or more results.
  2. Right-click the selected results, and click Open or Open Filtered.

    If you click Open Filtered, a dialog is displayed for you to enter the filter string or regular expression. A temporary result including only code coverage information for executable lines that match the specified filter is generated in the web report.

    If the selected results contain files that have the same name but different content, the merged result report might be inaccurate. A warning message is displayed for you to confirm merging the results or cancel the request.

Results

A report is opened in your default browser and populated with the code coverage data from the results.