Branch Coverage

blib/lib/Build/Hopen/Arrrgs.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
158 0 211 if (ref $_[0] eq 'ARRAY') { }
0 211 elsif (ref $_[0]) { }
167 0 211 if grep /;/, @$spec > 1
172 211 0 if (defined $invocant)
173 211 0 if ($invocant eq 'self') { }
176 0 0 if (UNIVERSAL::isa($_[0], $invocant)) { }
187 0 383 if $spec->[$_] eq '*'
188 154 229 if ($spec->[$_] eq ';') { }
8 221 elsif ($spec->[$_] =~ /;/) { }
194 0 8 if $els[0] eq ''
196 0 8 if @els > 2
199 8 0 unless $spec->[$_] =~ /^;/
213 65 209 if defined $_[0] and $_[0] =~ /^-/
214 0 209 if ($spec->[0] eq '*') { }
224 0 110 unless $k =~ /^-/
230 0 110 if exists $result{$name}
232 0 110 unless @$spec > 0 and @$spec[-1] eq '*' or grep {$name eq $_;} @$spec
238 1 210 if (@missing)
242 210 0 defined $self ? :