clean_coverage 0.0.3 copy "clean_coverage: ^0.0.3" to clipboard
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
3
likes
150
points
394
downloads

Publisher

verified publisherquirijngb.com

Weekly Downloads

2024.08.26 - 2025.03.10

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, cli_util, glob

More

Packages that depend on clean_coverage