| blib/lib/Test/UnixExit.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 18 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 2 | 11 | unless (defined $status and defined $expect) |
| 28 | 5 | 6 | if ($ref ne '') { } |
| 5 | 1 | elsif ($expect =~ /^[0-9]+$/) { } | |
| 29 | 1 | 4 | unless $ref eq "HASH" |
| 38 | 3 | 6 | $status & 128 ? : |
| 46 | 14 | 13 | unless defined $expect->{$attr} |
| 47 | 1 | 26 | if $got{$attr} != $expect->{$attr} |
| 57 | 1 | 8 | unless $passed |
| 66 | 3 | 1 | unless $status >> 8 == 0 |