Branch Coverage

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


line true false branch
26 1 26 defined $_[0] && UNIVERSAL::isa($_[0], 'HASH') ? :
34 2 22 defined $config->{'DEBUG'} ? :
3 24 defined $config->{'debug'} ? :
89 9 4 ref $self ? :
92 5 8 if (@_)
94 0 5 ref $_[0] ? :
114 2 14 if ref $self and @_
118 13 1 if ref $self
147 8 0 if (@_) { }
148 0 8 if (ref $_[0] eq 'ARRAY') { }
2 6 elsif (ref $_[0] eq 'HASH') { }
171 20 4 unless defined($value = $vals->{$key})
174 2 22 if (defined($default = $keys->{$key}) and ref $default eq 'CODE') { }
179 0 2 if $@
182 14 8 unless defined $value
183 9 13 if defined $value
188 0 8 wantarray ? :
206 15 1 if (ref $self and defined $self->{'_DEBUG'}) { }
216 8 8 unless $flag
236 17 6 ref $self ? :
238 10 13 @_ ? :