| blib/lib/Playwright/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 18 | 33.3 |
| line | true | false | branch |
|---|---|---|---|
| 29 | 0 | 3 | if (ref $args{'args'} eq "ARRAY") |
| 32 | 0 | 0 | if (ref $_ and builtin::reftype($_) eq "HASH" and exists $_->{'guid'}) |
| 46 | 0 | 3 | if $content =~ /^Can't connect to/u |
| 50 | 1 | 2 | unless (my $decoded = eval { do { &JSON::MaybeXS::decode_json($content) } }) |
| 58 | 1 | 1 | if $decoded->{'error'} |
| 67 | 0 | 0 | if ($callback) { } |
| 79 | 0 | 0 | unless $pid |
| 94 | 0 | 0 | unless -f $to_wait->{'file'}->filename and -s _ |
| 113 | 0 | 0 | if $dir eq "/" |