Branch Coverage

blib/lib/Test/UnixExit.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
26 0 5 unless defined $status and defined $expected_value
30 3 2 if ($expected_value =~ /^[0-9]+$/) { }
0 2 elsif (ref $expected_value ne 'HASH') { }
38 9 6 unless exists $expected_value->{$key} and defined $expected_value->{$key}
44 1 4 $status & 128 ? :
48 0 15 if ($got_value->{$key} != $expected_value->{$key})
59 0 5 unless $passed