Branch Coverage

blib/lib/MCE/Shared/Array.pm
Criterion Covered Total %
branch 6 84 7.1


line true false branch
37 0 0 if @_
62 0 0 @_ ? :
63 0 0 if $off < 0
64 0 0 @_ ? :
81 0 0 ref $_[0] eq 'HASH' ? :
92 0 0 ref $_[0] eq 'HASH' ? :
93 0 0 @_ ? :
95 0 0 if $params->{'flush'}
114 2 0 if (not @keys) { }
0 0 elsif (@keys == 1 and $keys[0] =~ /^(?:key|val)[ ]+\S\S?[ ]+\S/) { }
122 2 4 unless @keys
135 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|val)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (wantarray) { }
139 0 0 exists $self->[$_] ? :
140 0 0 @_ ? :
154 0 3 if (@_ == 1 and $_[0] =~ /^(?:key|val)[ ]+\S\S?[ ]+\S/) { }
3 0 elsif (wantarray) { }
159 0 3 @_ ? :
173 0 0 if (@_ == 1 and $_[0] =~ /^(?:key|val)[ ]+\S\S?[ ]+\S/) { }
0 0 elsif (wantarray) { }
178 0 0 @_ ? :
205 0 0 if exists $self->[$key]
219 0 0 unless exists $self->[$key]
230 0 0 @_ ? :
242 0 0 defined wantarray ? :
250 0 0 if (not $start =~ /^\-?\d+$/ && $stop =~ /^\-?\d+$/ or $start > $#{$self;})
254 0 0 if ($start < 0)
256 0 0 if $start < 0
259 0 0 if ($stop < 0) { }
261 0 0 if $stop < 0
264 0 0 if $stop > $#{$self;}
277 0 0 if (length $request)
278 0 0 if $request =~ /\balpha\b/i
279 0 0 if $request =~ /\bdesc\b/i
284 0 0 if (defined wantarray) { }
0 0 elsif ($alpha) { }
285 0 0 if ($alpha) { }
287 0 0 $desc ? :
291 0 0 $desc ? :
299 0 0 $desc ? :
303 0 0 $desc ? :
348 0 0 defined $_[1] ? :