Branch Coverage

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


line true false branch
31 1 124 unless ($subclass =~ /$class_re/)
34 0 124 unless eval "require $subclass; 1"
44 42 184 unless ($installed{$method})
61 3 63 unless defined $resource and length $resource
64 1 62 if (ref $resource and eval { do { $resource->isa('Metabase::Resource') } })
70 1 62 unless defined $scheme and length $scheme
83 62 0 if ($self->can('_init'))
95 0 128 unless ref $_[0] and defined $_[0]{'resource'}
102 0 3 unless $$self{'metadata'}
108 0 3 unless $self->_metadata_types