Branch Coverage

blib/lib/List/Rubyish.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
8 0 0 unless ref $add eq 'ARRAY' or ref $add eq ref $self
13 0 0 if (ref $self eq ref $add) { }
0 0 elsif (ref $add ne 'ARRAY') { }
22 0 0 unless ref $add eq 'ARRAY' or ref $add eq ref $self
35 0 0 if ref $class
36 0 0 @_ == 1 && ref $_[0] eq 'ARRAY' ? :
0 0 @_ > 0 ? :
62 0 0 if (defined $num) { }
71 0 0 if (defined $num) { }
82 0 0 if (defined $end) { }
0 0 elsif (defined $start and 0 < $start and $last <= $start) { }
83 0 0 if ($start == 0 and $last <= $end) { }
86 0 0 if $last < $end
117 0 0 if (ref $value eq 'CODE') { }
118 0 0 &$value($item) ? :
120 0 0 $item eq $value ? :
123 0 0 ref $code eq 'CODE' ? :
0 0 $found ? :
130 0 0 if $pos > $last_index
133 0 0 $_ == $pos ? :
139 0 0 unless ref $code eq 'CODE'
144 0 0 unless &$code($_)
156 0 0 unless ref $code eq 'CODE'
173 0 0 $self->length ? :
202 0 0 $bool ? :
208 0 0 unless ref $code eq 'CODE'
215 0 0 unless ref $code eq 'CODE'
217 0 0 wantarray ? :
224 0 0 unless $code
226 0 0 if (not ref $code) { }
0 0 elsif (ref $code eq 'CODE') { }
228 0 0 if (ref $_ eq 'HASH') { }
229 0 0 if $$_{$code}
231 0 0 if $_->$code
239 0 0 wantarray ? :
246 0 0 ref $cond && ref $cond eq 'CODE' ? :
248 0 0 if &$code
256 0 0 unless ref $code eq 'CODE'
257 0 0 unless $self->size
263 0 0 if &$code($_)
272 0 0 ref $target eq 'CODE' ? :
275 0 0 if &$code($$self[$i])
282 0 0 $code ? :
283 0 0 wantarray ? :
291 0 0 $cmp ? :
293 0 0 wantarray ? :
314 0 0 ref $element && ref $element eq 'ARRAY' ? :
329 0 0 unless ref $code eq 'CODE'