Branch Coverage

blib/lib/Dancer2/Plugin/Adapter.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
39 0 18 unless ($name)
46 0 18 unless my $object_conf = $$conf{$name}
51 0 18 unless ($fetch_by_scope{$scope})
57 5 13 if defined $cached
60 0 13 unless my $class = $$object_conf{'class'}
63 0 13 unless try_load_class($class)
69 1 11 defined $options ? :
0 12 ref $options eq 'ARRAY' ? :
1 12 ref $options eq 'HASH' ? :
75 0 13 unless my $object = eval { do { $class->$new(@options) } }