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.

Getting Started #

Install clean_coverage

  pub global activate clean_coverage

Run the clean command

  pub global run clean_coverage clean --exclusions-file exclusions.txt coverage/lcov.info

or

  pub global run clean_coverage clean --exclusions '**/.g.dart', '**/directory/**' coverage/lcov.info
2
likes
120
pub points
0%
popularity

Publisher

quirijngb.com

A tool to clean up your coverage lcov files. Remove unwanted files from your coverage report using globs

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

args, cli_util, glob

More

Packages that depend on clean_coverage