cover 0.2.0 copy "cover: ^0.2.0" to clipboard
cover: ^0.2.0 copied to clipboard

A simple and efficient tool for comprehensive code coverage analysis.

0.0.1 #

  • Initial version.

0.0.2 #

  • Flag --version was added in order to show the current version
  • Flag --display-files was added in order to show/hide coverage files

0.0.3 #

  • Fixed an issue with the final coverage percentage calculation

0.0.4 #

  • Flag --excluded-paths was added in order to exclude folders/files from coverage

0.1.0 #

  • Refactored architecture to introduce CoverageService for better testability and programatic usage.
  • Added CheckCoverageCommand support for programatic usage.
  • Upgraded dependencies to support latest Dart versions.
  • Added full example package in example/.
  • Updated development dependencies.

0.2.0 #

  • Security improvements:
    • Fixed path traversal via symlinks.
    • Added output sanitization to prevent potential vulnerabilities.
    • Fixed TOCTOU vulnerability in CoverageService.
    • Protected against ReDoS in excluded paths.
    • Fixed version spoofing vulnerability.
  • Optimizations:
    • Optimized coverage calculation and formatting.
    • Improved excluded paths filtering and coverage file filtering.
    • Optimized regex usage in RecordExtension.
    • Optimized filename sanitization in coverage reports.
  • Bug fixes:
    • Fixed path exclusion logic to support spaces.
    • Enforced file path constraints.
    • Fixed exception leakage in CLI Runner.
  • Documentation:
    • Added AGENTS.md guide for AI agents and developers.
2
likes
160
points
221
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and efficient tool for comprehensive code coverage analysis.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_completion, dart_console, lcov_parser, path, pubspec_parse

More

Packages that depend on cover