Condition Coverage

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


and 2 conditions

line l !l condition
126 3 1 ref $_ eq 'Regexp' and return 1

and 3 conditions

line !l l&&!r l&&r condition
123 4 1 1 exists $_[0]{'R'} and @{$_[0]{'R'};}
160 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;};}
224 56 15 1 $opts{'delete'} and not @{$path;}
265 44 7 9 $opts{'delete'} and $sc == $#{$path;}
309 62 16 8 $opts{'delete'} and $sc == $#{$path;}
361 2 2 31 $i < @{$frst;} and ref $frst->[$i] eq ref $scnd->[$i]

or 3 conditions

line l !l&&r !l&&!r condition
245 14 66 7 $opts{'expand'} or @{${$refs->[-1];};} > ($_ >= 0 ? $_ : abs $_ + 1)
293 14 39 6 $opts{'expand'} or exists ${$$refs[-1];}->{$i}