Branch Coverage

blib/lib/Config/MVP/Slicer.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
87 43 573 unless my($plug, $attr, $array) = $key =~ /$regexp/
91 479 94 unless $self->match_name($plug, $name) or $self->match_package($plug, $pack)
115 9 11 if (ref $conf eq 'HASH') { }
122 1 10 unless ($attr)
129 6 4 if ($previous) { }
131 3 3 if (ref $previous eq 'ARRAY') { }
1 2 elsif (ref $value eq 'ARRAY') { }
0 2 elsif ($type->name eq 'Str' and $opts->{'join'}) { }
132 2 1 ref $value eq 'ARRAY' ? :
148 1 3 if $type->name =~ /^arrayref/i and ref $value ne 'ARRAY'
164 42 24 if ref $spec eq 'ARRAY'
169 23 1 if eval { do { $spec->can('plugin_name') } }
178 72 31 if ($options->{'array'} or exists $hash->{$key} and ref $hash->{$key} eq 'ARRAY' or ref $value eq 'ARRAY') { }
188 1 71 if exists $hash->{$key} and ref $hash->{$key} ne 'ARRAY'
190 4 68 ref $value eq 'ARRAY' ? :