Branch Coverage

blib/lib/Class/Base.pm
Criterion Covered Total %
branch 37 42 88.1


line true false branch
43 1 25 defined $_[0] && UNIVERSAL::isa($_[0], 'HASH') ? :
51 2 21 defined $config->{'DEBUG'} ? :
3 23 defined $config->{'debug'} ? :
110 9 4 ref $self ? :
112 5 8 if (@_) { }
114 0 5 ref $_[0] ? :
135 2 14 if ref $self and @_
138 13 1 if ref $self
167 8 0 if (@_) { }
168 0 8 if (ref $_[0] eq 'ARRAY') { }
2 6 elsif (ref $_[0] eq 'HASH') { }
191 20 4 unless defined($value = $vals->{$key})
194 2 22 if (defined($default = $keys->{$key}) and ref $default eq 'CODE') { }
199 0 2 if $@
202 14 8 unless defined $value
203 9 13 if defined $value
208 0 8 wantarray ? :
226 15 1 if (ref $self and defined $self->{'_DEBUG'}) { }
236 8 8 unless $flag
258 17 6 ref $self ? :
260 10 13 @_ ? :