Types of code coverage reports

Code coverage information can be opened as a web-based report or exported to the following report formats: PDF, SonarQube, CCZip.

Web-based report
The web-based reports support printing, zooming, and other web page features.
The web-based report shows the hierarchy of the results in the following views:
Files
Files are listed and can be expanded to see methods, functions, or paragraphs next to the files.
Modules
Module is the first level and can be expanded to show compile units or object modules, and then files, and so on.
Flow points
All lowest-level flow points are displayed.
A flow point is a named group of statements in a program. Execution of the program can flow into and out of a flow point many times, or possibly not at all. Flow points can be called differently in various languages, for example:
  • For COBOL programs, flow points can be sections, paragraphs, compile units, or user-defined functions.
  • For PL/I programs, flow points can be procedures.
  • For C/C++ programs, flow points can be functions or classes.
  • For Java programs, flow points can be classes or methods.
If the source or listing for an item is available, the item is shown as a hyperlink. You can click the hyperlink to open the source or listing in an editor.
Web-based comparison report
A special type of the web-based report. If you select two results, you can generate a web-based comparison report. In this report, code coverage data from the two results is compared.

You can also view the compared source files line by line.

CCZip report
CCZip, or portable code coverage format, is a compressed format that includes source and supports the merging of results.
SonarQube report
SonarQube is a format that can be imported into a SonarQube server.
PDF report
If you need to print your code coverage report or email a report in a convenient format, you can open or generate a PDF report.
PDF Compare report
A special type of the PDF report. When you select two code coverage results, you can generate a PDF Compare report to compare two code coverage results and show the differences on the report.