Branch Coverage

blib/lib/namespace/autoclean.pm
Criterion Covered Total %
branch 28 44 63.6


line true false branch
14 10 0 if (eval {
21 0 0 unless ref $coderef
24 0 0 unless $cv->isa("B::CV")
28 0 0 if $gv->isa("B::SPECIAL")
30 0 0 $stash->isa('B::SPECIAL') ? :
170 2 8 if ref $i eq "CODE"
171 3 5 if ref $i eq "Regexp"
181 1 17 exists $args{'-cleanee'} ? :
186 2 4 ref $args{'-also'} eq 'ARRAY' ? :
6 12 exists $args{'-also'} ? :
192 1 2 ref $args{'-except'} eq 'ARRAY' ? :
3 15 exists $args{'-except'} ? :
203 84 3 if not &first(sub {
212 0 18 if (defined &Class::MOP::class_of and my $meta = Class::MOP::class_of($package)) { }
216 0 0 if $meta->isa("Moose::Meta::Role") and "Moose"->VERSION < "0.9"
218 0 0 unless $_[0] =~ /^\(/
221 15 0 $package->can('DOES') ? :
3 15 $package->can('does') ? :
225 5 79 if $_[0] =~ /^\(/
228 40 39 if $code_stash eq $package
229 0 39 if $code_stash eq "constant"
231 4 35 if $does and eval {