Diffblue Cover Reports

Understand Java unit test coverage; Identify risk

Visualize coverage and risk

Cover Reports delivers valuable insights about your Java codebase. It visualizes the state of unit testing and pinpoints unique, actionable insights that improve quality and efficiency. Granular unit test coverage reports - extending down to method level - are supplemented by information on variables like code quality, testability and complexity, for a more holistic view of unit testing.

Cover Reports provides a range of tables and dashboards that make it easy to understand coverage levels. It’s simple to drill down from a project-level overview to specific packages or classes.

Cover Reports allows Java teams to identify gaps in unit test coverage and the reasons for them. With Cover Reports you can realize more value from unit testing by understanding exactly where risk lies and what to do about it. Target available development resources more precisely to improve code quality faster and reduce the risk of regressions.

More than a number

Cover Reports delivers granular coverage reporting that gives you more than a simple percentage. The insights it provides are based on the deep code analysis executed as part of Cover Core’s unit testing writing capability.

Understand risk

Coverage is an imperfect proxy for risk. Cover Reports also shows you exactly what code isn’t tested, how important it is, and why tests might not have been written. A Risk Index score provides a quick way to see what’s most important. 

Maximize efficiency

The insights provided by Cover Reports allow scarce developer expertise to be targeted more efficiently, either at areas of most risk or those where additional coverage can most easily be delivered. 

Benchmark and track

With Cover Reports you can record and benchmark the effectiveness of your Java unit testing over time. For the first time it’s possible to track progress and the impact of change on coverage, across teams, applications and projects. 

Cover Telemetry

Cover Reports can be used to show how Diffblue Cover is being used in your organization - something that isn’t always easy when hundreds of developers, millions of lines of code and an automated CI pipeline are involved.

Cover Reports Dashboards: Examples

Cover Reports provides a range of dashboards which visualize unit test coverage and related risk. This project-level example shows that 33% of the code is not covered by unit tests; related risk has been assessed as 30/100.

Projects can be represented as granular treemaps which show coverage in different part of an application.

Changes in unit test coverage can be tracked over time to measure progress.

Ready to try Diffblue Cover?

Try free for 14 days

FAQs

What is Diffblue Cover?

Diffblue Cover creates suites of unit tests that run in your continuous integration pipeline between versions and protect against regressions, so you can catch errors faster and earlier in the software development lifecycle. To learn more, see our our product page.

What are the benefits of using Diffblue Cover?

Diffblue Cover helps your team increase automation of your CI pipeline.

For development teams, this:

  • improves velocity and quality of the software you deliver
  • frees up time to focus on creating new features

For DevOps teams, this:

  • helps catch errors and issues earlier (shift left!)
  • improves deployment frequency, lead time, and mean time to repair (MTTR)

Will the tests find regressions in my code?

Yes. Diffblue Cover quickly generates tests that will allow you to adopt CI. The generated tests will help developers quickly identify regressions in subsequent commits before committing new versions.

What are the requirements for running Diffblue Cover?

See the product datasheet for more information.

How can I learn more about customers using Diffblue Cover?

See our case study on how Goldman Sachs has benefited from using Diffblue Cover to increase coverage and create a safety net against regressions.

For example of other ways our customers use Diffblue Cover, click here.

How do we maintain Diffblue unit tests in the future?

Diffblue regression suites are maintained automatically and updated with each new code version to capture the current behavior of the code.

How does Diffblue Cover help me adopt Continuous Integration?

Diffblue Cover AI analyzes your code and writes Java unit tests that run in a CI pipeline after each commit. Cover’s tests:

  • Always compile
  • Run quickly
  • Detect regressions from previous versions
  • Improve coverage
  • Are easy to understand

Should our team stop writing unit tests after adopting Diffblue Cover?

No. Diffblue Cover is meant to complement your own unit tests and help you catch regressions.

How is a unit test different from a Diffblue regression suite?

Developers write individual unit tests to test specific functionality. Diffblue regression suites are generated automatically to help find regressions early in the development cycle. Find out more in our Unit Regression Tests eBook.