coverage icon indicating copy to clipboard operation
coverage copied to clipboard

Dart coverage data manipulation and formatting

Results 44 coverage issues
Sort by recently updated
recently updated
newest added

We have tests in Aqueduct that spawn many isolates (>30). The current coverage strategy pauses isolates at exit and waits for tests/collection to finish before resuming each isolate so that...

type-enhancement

When collecting coverage with the `--resume-isolates` flag, you will receive a `JsonRpcError: VM must be paused (101)` error if the isolates are not paused. This error message could be improved...

type-enhancement

type-enhancement
type-cleanup

Add `--json`, `--lcov`, `--pretty-print` (default) flags to specify output. Requires adding --sdk-root and --package-root flags. Blocked by #7.

type-enhancement

> I'm looking to add support for Dart to [codecov.io](https://codecov.io) (full disclosure: I'm the founder) I'm not familiar with Dart and hoping someone can help show me an example `coverage.json`...

type-enhancement

It would be nice if it were explained how coverage statistics were gathered. As far as I know, observatory plays some part in it, but that's about it. Ultimately, I'm...

type-question

The `--scope-output` filters are passed to `getSourceReport.libraryFilters`, but there are cases where the report can contain ranges that bypass the filter. This happens when the range has a different library...

This makes it possible to exclude files which match glob patterns from the report, which was discussed in #427 and #313. The `.yaml` configuration part which was requested in #427...

https://github.com/dart-lang/coverage/pull/494 bumped the minimum SDK version to 3.4.0. That means that some of the `_versionCheck`s in `_getAllCoverage` are unnecessary. We should be able to clean up some old code paths.

type-cleanup