Branch Coverage

blib/lib/Metabase/Resource.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
32 1 124 unless ($subclass =~ /$class_re/)
35 0 124 unless eval "require $subclass; 1"
45 42 184 unless ($installed{$method})
62 3 63 unless defined $resource and length $resource
65 1 62 if (ref $resource and eval { do { $resource->isa('Metabase::Resource') } })
71 1 62 unless defined $scheme and length $scheme
84 62 0 if ($self->can('_init'))
96 0 128 unless ref $_[0] and defined $_[0]{'resource'}
103 0 3 unless $self->{'metadata'}
110 0 3 unless $self->_metadata_types