Viewing code coverage results in the Code Coverage Results view

In the Code Coverage Results view, you can work with your code coverage results.

  • Viewing overall coverage status
  • Sorting the code coverage results
  • Viewing the code coverage in the program source or listing
  • Viewing the result in a detailed or filtered web report
  • Comparing two code coverage results
  • Merging two or more results to see the overall code coverage
  • Renaming a result
  • Deleting one or more results
  • Adding external locations that contain results from the local file system, remote file system, or CCS server
  • Importing one or more results from a workspace, local directory, CCS URL, or remote location
  • Exporting one or more results into different formats: CCZip, SonarQube, PDF, or PDF Compare if exactly two results are selected
All code coverage results captured by the client are displayed in the Code Coverage Results view. In the following example, you can find code coverage results that are captured by launching the application with code coverage enabled.
Code Coverage Results view
In the Code Coverage Results view, you can view the following information of each result.
  • The Name column lists the results in the default workspace location and the deprecated Java workspace location, and any manually-added local, remote, or CCS result locations. For more information, see Results view interface overview and Working with result locations.
  • The Status column shows the overall coverage status.

    • If the coverage percentage is smaller than the failure threshold, the Failed icon (Red alert) is displayed in the Status column.
    • If the coverage percentage level is smaller than the warning threshold, but greater than or equal to the failure threshold, the Warning icon (Red alert) is displayed in the Status column.
    • If the coverage percentage is greater than or equal to the warning threshold, the Passed icon (Check mark) is displayed.
    For more information, see Setting the code coverage thresholds.
  • The Coverage column shows the overall coverage percentage.

  • The Level column shows the level of code coverage that is captured in the result.

  • The Analyzed Date column shows the date that the results are captured. If a result is a merge of two or more results, the Analyzed Date column shows the date that the merge was created.

  • The Additional information column shows messages or project names.