Branch Coverage

blib/lib/CatalystX/Imports/Context.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
168 0 19 if @args % 2
176 0 38 unless exists $options{$required} and defined $options{$required}
180 1 18 unless $options{'tags'}
181 16 3 unless $options{'alias'}
190 19 3 $options{'name'} eq $name ? :
200 2 20 exists $options{'prototype'} ? :
249 0 1 if (@args == 1 and ref $args[0] eq 'ARRAY') { }
0 1 elsif (@args == 1 and ref $args[0] eq 'HASH') { }
262 0 1 unless delete $args{'Default'}
265 0 1 if ($arg =~ /^[+](.+)$/)
266 0 0 unless exists $args{$1}
280 0 1 if $load_default{$lib}
302 0 1 if $export =~ s/^-//
304 1 0 if $export =~ s/^://
314 0 1 unless my $tag_exports = $export_map->{'tag'}{$tag}
320 0 1 unless $substract
352 0 19 unless my $export_info = $class->get_export($export)
371 2 17 defined $prototype ? :