FLUTTER ECOSYSTEM

remove_from_coverage

A command-line tool to customize the contents of a coverage lcov.info file.

Latest version
2.0.0
30-day downloads
57.9K
Likes
37
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A command-line tool designed to modify lcov.info coverage files by removing specified lines or files from the coverage report. It helps developers refine test coverage data by excluding certain code sections, such as generated or boilerplate code, ensuring more accurate and meaningful coverage metrics. The tool is particularly useful in CI/CD pipelines where clean, focused coverage reports are essential. It runs on macOS, Windows, and Linux, making it accessible across development environments.

Use cases
  • Refining test coverage reports
  • Excluding generated code from coverage
  • Improving CI/CD reporting accuracy
  • Customizing coverage data for analysis
  • Removing noise from coverage files
Key features
  • Command-line interface
  • Supports lcov.info file manipulation
  • Cross-platform compatibility
  • Easy integration with build scripts
  • Configurable exclusion rules
Suitable for
  • Test automation engineers
  • CI/CD pipeline developers
  • Code quality teams
  • Flutter developers managing coverage
  • Teams aiming for precise coverage metrics
Considerations
  • Requires manual configuration of exclusions
  • Not a runtime package
  • Limited to post-processing coverage files
  • No GUI interface
  • Dependent on correct lcov.info format
Supported platformsmacOSWindowsLinux

Install package

flutter pub add remove_from_coverage

Categories

Source repository

Related projects