Branch Coverage

blib/lib/Class/Classless/C3.pm
Criterion Covered Total %
branch 47 70 67.1


line true false branch
28 6 3 ref $parent ? :
53 0 0 ref $self ? :
0 14 unless my $sub = $self->can($AUTOLOAD)
54 1 13 if ref $trace eq 'SCALAR'
69 13 0 unless $method =~ /^(\(eval\)|__ANON__|DB::.*)$/
73 5 8 unless $sub
74 3 5 if ref $trace eq 'SCALAR'
87 2 2 if (ref $what) { }
88 1 1 grep(($_ eq $what), @$c3) ? :
90 1 1 grep(($_->{'_meta'}{'name'} eq $what), @$c3) ? :
104 13 17 $_[0] && $_[0] eq 'from' ? :
106 0 30 unless ($self->{'_meta'})
113 27 59 if ($from)
114 14 13 if $o->{'_meta'}{'name'} ne $from
118 59 0 if (ref $o and $o->{'_meta'}) { }
120 22 37 if $sub
122 0 37 if (ref $Class::Classless::C3::autoload eq 'CODE')
124 0 0 if $sub
128 0 0 if $sub
133 1 7 if $sub
165 10 22 if (@_)
166 0 10 if $self->{'name'}
169 1 9 unless ($self->{'name'})
181 9 1 if (@_)
183 0 9 if @{$self->{'parents'};}
185 0 9 unless ref $par
194 0 1 if (@_)
195 0 0 if $self->{'parents'}
196 0 0 if (ref $_[0] eq 'ARRAY') { }
211 0 1 unless $newp
245 1 4 if $sym =~ /^(AUTOLOAD|NEXT|can|isa|VERSION|meta|new)$/
249 0 0 exists &{$class . '::' . $sym;} ? :
4 0 ref \$symtable->{$sym} eq 'GLOB' ? :
251 2 2 if (defined $sub)
266 2 43 if (grep(($who eq $_->{'_meta'}{'name'}), @{$Class::Classless::C3::c3cache{$k};}))