Knowledge Base > Diffblue Cover Reports > 8. Visualizations in Cover Reports

Visualizations in Cover Reports

Cover Reports has many visualizations that simplify analysis of coverage data generated by the dcover CLI. Each visualization is described in detail.


The treemap shows coverage for the whole project, divided into sections of the appropriate size:

Use the toggle switches above the map to:

  • Turn the colors on/off (the rectangles will recolor)
  • Show the total lines of code (the rectangles will resize)
  • Show the uncovered lines of code (the rectangles will resize).

Hover over the rectangles to see the name and coverage details. This is especially useful if some of the rectangles are smaller.


The visualizations shown are very similar for both the CLI and the plugin:

Total unique users per day:

Total number of write test operations per day:

Total tests produced per day:

Coverage over time

These charts compare coverage over time for a class, package or a run, on the same branch. The example below shows a run coverage over time:

All runs are shown, but the current run is highlighted.

Run Coverage Sources

Run coverage sources is represented by a pie chart.

This pie chart is, by default, split into 6 sections which each represent how the code is covered by tests. These sections are:

  • Covered by both Diffblue & manual tests
  • Covered by Diffblue tests only
  • Covered by manual tests only
  • Not tested
  • Untestable
  • Trivial

The percentage displayed on the section of the pie chart represents the lines of code covered by that test source as a percentage of overall lines in the module.

The user can also hover over any section to get the raw amount of lines covered by that test source.

Here is an example of the Coverage sources pie chart where the “Not tested” section is hovered over:

Within this chart, the user can also click on a source within the legend to disable that section from the pie chart.

The remaining result would be a pie chart that represents how code is covered, as a percentage of total lines in the module minus lines covered by disabled sections.

For example, below is the same chart, but with the “Untestable” and “Trivial” sections disabled: