dotCover 2020.3 Help

Add/Edit Coverage Filter dialog

Edit Coverage Filters | Add Filter
Edit Coverage Filters | Edit

This dialog helps specifying a new coverage filter or modifying an existing coverage filter. It opens when you click the corresponding buttons in the Coverage Filters dialog.

dotCover: Add/Edit Coverage Filter dialog

Filter rule

Analyze code inChoose this option to include the specified code item into code coverage analysis and exclude all other code items.
Do not analyze code inChoose this option to exclude the specified code item from code coverage analysis.
... assemblyName of an assembly or project to be included/excluded.
... className of a class to be included/excluded.
... methodName of a method to be included/excluded.
Do not analyze codeChoose this option to exclude code items with the specified attribute from code coverage analysis
... marked with attributeName of a class to be included/excluded.
... declared in assemblyName of a method to be included/excluded.

Apply filter to

All solutionsChoose this option to apply the filter to globally on your computer.
Current solutionChoose this option to apply the filter only to the current solution.

You can use asterisk wildcards when specifying code item names in a filter: '*' (asterisk) represents zero or more characters.
For example, you can use the *.Tests wildcard that will exclude all test projects from code analysis.

Last modified: 08 March 2021