Branch Coverage

blib/lib/perl5i/2/ARRAY.pm
Criterion Covered Total %
branch 45 72 62.5


line true false branch
18 3 2 if (my $sig = $code->signature)
20 0 3 unless $n
35 1 13 if (ref $filter eq 'Regexp')
46 4 1 wantarray ? :
51 1 1 wantarray ? :
56 1 10 unless defined $num
58 2 8 unless $num->is_integer and $num->is_positive || $num == 0
61 3 5 if ($num >= @$self)
63 3 0 wantarray ? :
75 11 17 if ($rand < $num)
87 5 0 wantarray ? :
99 1 13 wantarray ? :
103 1 6 unless defined $times
105 2 4 unless $times->is_integer and $times->is_positive || $times == 0
109 1 3 if $times > scalar @$self
112 3 1 wantarray ? :
116 1 6 unless defined $times
118 2 4 unless $times->is_integer and $times->is_positive || $times == 0
122 1 3 if $times > scalar @$self
125 3 1 wantarray ? :
156 0 0 wantarray ? :
162 0 0 wantarray ? :
168 0 0 wantarray ? :
203 0 1 unless (@rest)
204 0 0 wantarray ? :
211 0 0 $has_refs ? :
215 0 0 if grep {ref $_ ne 'ARRAY';} @rest
221 0 0 wantarray ? :
258 0 2 unless (@rest)
259 0 0 wantarray ? :
265 0 0 $has_refs ? :
269 0 0 if grep {ref $_ ne 'ARRAY';} @rest
275 0 0 wantarray ? :
281 1 3 wantarray ? :
287 1 3 wantarray ? :
293 1 4 wantarray ? :