Branch Coverage

blib/lib/App/Open/Config.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
66 6 18 $@ ? :
68 2 22 if (not ref $$self{'config'} or ref $$self{'config'} ne 'HASH')
100 15 2 if (exists $self->config->{'backend'} and defined $self->config->{'backend'})
103 15 0 if (ref $self->config->{'backend'}) { }
104 14 1 if (ref $self->config->{'backend'} eq 'HASH') { }
1 0 elsif (ref $self->config->{'backend'} eq 'ARRAY') { }
110 2 0 if (ref $backend eq 'HASH')
121 5 12 if (@backends)
146 2 23 if (ref $backend eq 'HASH') { }
23 0 elsif (not ref $backend) { }
147 2 0 if ($$backend{'name'})
149 2 0 if ($module)
157 23 0 if ($module)
192 25 9 unless ($@)
228 23 17 if $$self{'backend_order'}