Branch Coverage

blib/lib/Mouse/Exporter.pm
Criterion Covered Total %
branch 50 54 92.5


line true false branch
51 7 968 if ($args{'also'}) { }
58 7 8 unless my $also = $SPEC{$current}{'also'}
59 3 5 ref $also ? :
73 0 983 unless my $spec = $SPEC{$package}
75 978 5 if (my $as_is = $spec->{'as_is'})
79 763 13173 if (ref $thingy) { }
92 13174 762 if ($code_package eq $package)
98 384 599 if (my $init_meta = $package->can('init_meta'))
99 384 0 unless (grep {$_ == $init_meta;} @init_meta_methods)
109 284 691 if (my $default_list = $args{'groups'}{'default'}) { }
122 381 594 if (@init_meta_methods)
136 852 3323 ref $args[0] ? :
143 17 3377 if ($arg =~ s/^-//) { }
2470 907 elsif ($arg =~ s/^://) { }
144 17 0 if ($arg eq 'traits') { }
145 10 7 ref $args[0] ? :
164 763 3412 if ($spec->{'INIT_META'}) { }
1 3411 elsif (@traits) { }
170 16 747 if (@traits)
173 2 17 ref $_ ? :
179 1 15 Mouse::Util::is_a_metarole($into->meta) ? :
191 2787 1387 if (@exports) { }
222 8 685 unless exists $stash->{$keyword}
226 684 1 if (ref $gv eq 'GLOB' and *{$gv;}{'CODE'} == $spec->{'EXPORTS'}{$keyword})
238 852 3387 if (ref $arg) { }
241 2 0 defined $arg->{'into_level'} ? :
850 2 defined $arg->{'into'} ? :