Knowledge Base > Diffblue Cover Reports 2.0 > 1. Introduction to Cover Reports

Introduction to Cover Reports 2.0

beta

What is Cover Reports?

Diffblue Cover Reports provides a variety of ways to visualise an application based on information derived from Diffblue Cover.

Cover Reports allows your team to identify gaps in your application’s coverage and the reasons for those gaps. This means development can be targeted in those areas, which leads to improved coverage, improved application code and lower risk.

This can be illustrated in the following example, where an application has a high level of coverage (73.5%).

However, with 319 lines not covered, are there any classes which are not covered and critical to the operation?

With Cover Reports, this can easily be seen with this sunburst:

Here, CommandDispatcher.execute(ParseResults) has 59 uncovered lines which accounts for 18.5% of the total. By adding tests for this method only, the total coverage would increase by 5%.

Available with DCover CLI

Cover Reports is available for customers using the Diffblue Cover CLI. Please contact your account manager to get access to Cover Reports. Or, if you are not yet using DCover CLI, you can start a free trial.

Prerequisites

For complex projects with around 20 connections, we suggest using 16 GB of RAM and 4 cores. Less complex projects with fewer connections will mean a lower minimum requirement. For advice, please contact Diffblue Support.

Installation

Installation is easy and can be done in 2 steps as described here.

Adding projects to Cover Reports

Adding a project is done by using the dcover cli as described here.

Viewing projects

Having added a project, it can be viewed using a web browser and traversed using the navigation menu.

There are several dashboards to chose from depending on your scenario.

Supported Browsers

We support the most recent versions of:

  • Chrome
  • Safari
  • Edge
  • Firefox