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

Currently, `// coverage:ignore-file` is available for ignoring the whole file from coverage but some tools (such as built_value_generator) do not generate files with that meta-comment. It would be nice if...

type-enhancement

Description ======== While generating coverage reports is super important, in order to use coverage in CI workflows, sometimes you want to enforce a certain coverage percentage. Python's [coverage](https://github.com/nedbat/coveragepy) library do...

For the file: ```dart // main.dart abstract class SuperKlass { const SuperKlass(); } class Klass extends SuperKlass { const Klass() : super(); double divide(double numerator, double denominator) { if (denominator...

Add a command line flag that works like `// coverage:ignore-file`. It should also be able to handle globs, so that users can ignore all generated files like `*.g.dart`.

type-enhancement
good first issue

Trying to add function and branch coverage to flutter (https://github.com/flutter/flutter/issues/108313), but function coverage is unusably slow, due to the large number of source files that need to be scanned in...

Is there a way for the coverage to detect already tested functions inside other functions? ![](https://cdn.discordapp.com/attachments/509072449695121434/1009112503101444156/Screen_Shot_2022-08-16_at_11.51.28_AM.png) ![](https://cdn.discordapp.com/attachments/509072449695121434/1009112503462146088/Screen_Shot_2022-08-16_at_11.51.46_AM.png) If I put the function call directly into the return, then, the return...

In the image below, lines 181, 184, and 187 are showing as not covered by my tests but the tests specifically test the correct execution of those lines. To verify...

Yesterday I was able to collect code coverage with `flutter test --coverage`. Today I upgraded to 1.3.2 and I get this error on my windows, mac and linux machines: ```bash...

test/chrome_test.dart fails on windows CI, and I haven't been able to reproduce it locally. Skipping it for now. https://github.com/dart-lang/coverage/runs/6459692741?check_suite_focus=true

Follow up from #382. We should consider bumping the minimum SDK version to 2.17, perhaps when bumping the coverage version to 3. This would let us remove the `--packages` flag,...