Condition Coverage

blib/lib/Struct/Path.pm
Criterion Covered Total %
condition 33 33 100.0


and 3 conditions

line !l l&&!r l&&r condition
123 3 1 1 exists $_[0]{'R'} and @{$_[0]{'R'};}
159 42 5 19 ref ${$ref;} eq 'HASH' and @{$path;} != $depth
47 1 18 ref ${$ref;} eq 'HASH' and @{$path;} != $depth and keys %{${$ref;};}
36 1 11 ref ${$ref;} eq 'ARRAY' and @{$path;} != $depth
37 2 9 ref ${$ref;} eq 'ARRAY' and @{$path;} != $depth and @{${$ref;};}
223 53 15 1 $opts{'delete'} and not @{$path;}
261 42 7 9 $opts{'delete'} and $sc == $#{$path;}
300 55 16 8 $opts{'delete'} and $sc == $#{$path;}
352 2 2 31 $i < @{$frst;} and ref $frst->[$i] eq ref $scnd->[$i]

or 3 conditions

line l !l&&r !l&&!r condition
241 14 64 7 $opts{'expand'} or @{${$refs->[-1];};} > ($_ >= 0 ? $_ : abs $_ + 1)
285 14 38 6 $opts{'expand'} or exists ${$$refs[-1];}->{$_}