Condition Coverage

blib/lib/BSON/Decode.pm
Criterion Covered Total %
condition 19 23 82.6


and 3 conditions

line !l l&&!r l&&r condition
98 0 2 0 !$@ && defined $fd
368 14 18 10 ref $hash and ref $hash eq 'ARRAY'
371 14 8 6 $clean and ref $hash->[$h] eq 'HASH'
22 2 4 $clean and ref $hash->[$h] eq 'HASH' and keys %{$$hash[$h];} == 0
383 6 3 3 $clean and ref $hash->{$k} eq 'ARRAY'
9 2 1 $clean and ref $hash->{$k} eq 'ARRAY' and scalar @{$hash->{$k};} == 0

or 2 conditions

line l !l condition
93 2 0 shift() // ''

or 3 conditions

line l !l&&r !l&&!r condition
381 6 6 0 ref $hash->{$k} eq 'HASH' or ref $hash->{$k} eq 'ARRAY'