Branch Coverage

blib/lib/Data/LnArray.pm
Criterion Covered Total %
branch 45 52 86.5


line true false branch
41 2 2 $ref eq 'ARRAY' ? :
1 4 !$ref ? :
42 1 1 unless $data->{'length'}
45 2 2 $code ? :
53 0 0 $ref eq 'ARRAY' ? :
68 1 3 $target < 0 ? :
73 1 3 $start < 0 ? :
78 3 1 defined $end ? :
79 1 3 $end < 0 ? :
88 1 3 if ($from < $to and $to < $from + $count)
110 1 2 $start < 0 ? :
115 2 1 defined $end ? :
116 1 2 $end < 0 ? :
164 2 1 if (defined $target) { }
195 3 1 if (&$grep($_))
206 1 0 scalar @match ? :
214 1 0 if $_ eq $_[0]
230 1 2 if $self->[$i] eq $_[0]
269 1 5 unless &$cb($_)
279 1 4 if &$cb($_)
290 1 4 if &$cb($_)
345 1 4 if &$cb($_)
359 0 5 unless ($caller eq 'Data::LnArray' or grep {$_ eq $caller;} @allowed)
362 0 5 unless $_[($_[0] || 0) < ($_[1] || 0)]
369 0 17 unless ($caller eq 'Data::LnArray' or grep {$_ eq $caller;} @allowed)
372 2 15 unless $_[($_[0] || 0) > ($_[1] || 0)]