Branch Coverage

blib/lib/Data/LnArray.pm
Criterion Covered Total %
branch 43 54 79.6


line true false branch
41 2 1 $ref eq 'ARRAY' ? :
1 3 !$ref ? :
42 0 1 unless $data->{'length'}
45 2 2 $code ? :
53 0 0 $ref eq 'ARRAY' ? :
68 1 2 $target < 0 ? :
73 1 2 $start < 0 ? :
78 2 1 defined $end ? :
79 1 2 $end < 0 ? :
88 1 2 if ($from < $to and $to < $from + $count)
95 5 0 if ($self->[$from]) { }
115 0 2 $start < 0 ? :
120 1 1 defined $end ? :
121 0 2 $end < 0 ? :
169 2 1 if (defined $target) { }
200 3 1 if (&$grep($_))
211 1 0 scalar @match ? :
219 1 0 if $_ eq $_[0]
235 1 2 if $self->[$i] eq $_[0]
274 1 5 unless &$cb($_)
284 1 4 if &$cb($_)
295 1 4 if &$cb($_)
350 1 4 if &$cb($_)
364 0 3 unless ($caller eq 'Data::LnArray' or grep {$_ eq $caller;} @allowed)
367 0 3 unless $_[($_[0] || 0) < ($_[1] || 0)]
374 0 13 unless ($caller eq 'Data::LnArray' or grep {$_ eq $caller;} @allowed)
377 2 11 unless $_[($_[0] || 0) > ($_[1] || 0)]