Branch Coverage

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


line true false branch
50 2 2 $ref eq 'ARRAY' ? :
1 4 !$ref ? :
51 1 1 unless $data->{'length'}
54 2 2 $code ? :
62 0 0 $ref eq 'ARRAY' ? :
77 1 3 $target < 0 ? :
82 1 3 $start < 0 ? :
87 3 1 defined $end ? :
88 1 3 $end < 0 ? :
97 1 3 if ($from < $to and $to < $from + $count)
119 1 2 $start < 0 ? :
124 2 1 defined $end ? :
125 1 2 $end < 0 ? :
173 2 1 if (defined $target) { }
204 3 1 if (&$grep($_))
215 1 0 scalar @match ? :
223 1 0 if $_ eq $_[0]
239 1 2 if $self->[$i] eq $_[0]
278 1 5 unless &$cb($_)
288 1 4 if &$cb($_)
299 1 4 if &$cb($_)
354 1 4 if &$cb($_)
368 0 5 unless ($caller eq __PACKAGE__ or grep {$_ eq $caller;} @allowed)
371 0 5 unless $_[($_[0] || 0) < ($_[1] || 0)]
378 0 17 unless ($caller eq __PACKAGE__ or grep {$_ eq $caller;} @allowed)
381 2 15 unless $_[($_[0] || 0) > ($_[1] || 0)]