clean_coverage 0.0.3
clean_coverage: ^0.0.3 copied to clipboard
A tool to clean up your coverage lcov files. Remove unwanted files from your coverage report using globs
Clean Coverage #
A dart tool clean up LCOV files. Remove unwanted files from the coverage record using globs. Heavily inspired by remove_from_coverage
Usage: clean_coverage clean [arguments]
-h, --help Print this usage information.
--exclusions=<glob> Exclude files with names matching the given glob. This option can be repeated.
--exclusions-file=<file> Exclude files with names matching the given globs in the file.
copied to clipboard
Getting Started #
Install clean_coverage
pub global activate clean_coverage
copied to clipboard
Run the clean
command
pub global run clean_coverage clean --exclusions-file exclusions.txt coverage/lcov.info
copied to clipboard
or
pub global run clean_coverage clean --exclusions '**/.g.dart', '**/directory/**' coverage/lcov.info
copied to clipboard