Clover Screenshot tour
Features – Filtering
Focus your coverage analysis on what matters to you most.
Control the coverage-recording process
Clover gives you precise control over the instrumentation and coverage recording process, using source level directives, glob-based filters and runtime system properties. This allows you to optimise the coverage recording process to only focus on particular classes or methods.
Choose the data that matters to you
You can choose which aspects of your code should be reported on, and filter out irrelevant information. This is particularly useful when using Clover interactively to develop and refine your tests.
Usage example: Configure your reports to filter out low-complexity methods, allowing the highly complex code to stand out.
You can easily filter out noise when using Eclipse interactively.
Advanced filtering using Regular Expressions
Clover's filtering accepts regular expressions, allowing you to focus on methods or statements that match a particular pattern.
Usage example: Use a statement filter to remove all logging statements from your Coverage reports.