cover 0.3.0
cover: ^0.3.0 copied to clipboard
A simple and efficient tool for comprehensive code coverage analysis.
0.3.0 #
- Feat: Integrated Melos as a workspace manager using Dart Workspaces.
- Refactor: Optimized
CoverageServicewith non-blocking/async I/O for file operations and path resolution. - Fix: Improved robustness of
min-coveragevalidation and enhanced global error handling in CLI commands. - Perf: Optimized file metadata retrieval and path exclusion filtering.
- Fix: Resolved exception leakage issues during coverage parsing.
- Chore: Upgraded minimum Dart SDK to
3.5.0and unified development workflows via Melos scripts.
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.mdguide for AI agents and developers.
- Added
0.1.0 #
- Refactored architecture to introduce
CoverageServicefor better testability and programatic usage. - Added
CheckCoverageCommandsupport for programatic usage. - Upgraded dependencies to support latest Dart versions.
- Added full example package in
example/. - Updated development dependencies.
0.0.4 #
- Flag
--excluded-pathswas added in order to exclude folders/files from coverage
0.0.3 #
- Fixed an issue with the final coverage percentage calculation
0.0.2 #
- Flag
--versionwas added in order to show the current version - Flag
--display-fileswas added in order to show/hide coverage files
0.0.1 #
- Initial version.