Branch Coverage

blib/lib/Class/MakeMethods/Utility/ArraySplicer.pm
Criterion Covered Total %
branch 6 32 18.7


line true false branch
35 13 0 if require Exporter
134 0 8 if (scalar @_ == 0) { }
5 3 elsif (scalar @_ == 1 and length $_[0] and not ref $_[0] and not $_[0] =~ /\D/) { }
0 3 elsif (scalar @_ == 1 and ref $_[0] eq 'ARRAY') { }
3 0 elsif (not scalar(@_) % 2 || grep({not length $_ && !ref($_) && !($_ =~ /\D/);} map({$_[$_];} grep({not $_ % 2;} 0 .. $#_)))) { }
0 0 elsif (!scalar(@_) == 2 and not defined $_[0] and ref $_[1] eq 'ARRAY') { }
0 0 elsif (!scalar(@_) % 2 and ref $_[0] eq 'ARRAY') { }
135 0 0 wantarray ? :
144 0 0 wantarray ? :
164 0 0 !ref($value) ? :
0 0 !$value ? :
167 0 0 if (defined $key_v) { }
168 0 0 if ($key_c) { }
175 0 0 if (not defined $key_c) { }
0 0 elsif ($key_c) { }
190 0 0 !wantarray && scalar @results == 1 ? :