Branch Coverage

blib/lib/Kelp/Module/Whelk.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
46 19 2 if ($app->isa("Whelk"))
61 0 21 if defined $args->{'inhale_response'}
73 0 21 unless keys %resources
81 18 6 unless ref $config eq "HASH"
85 0 24 unless $controller->isa($app->routes->base)
88 0 24 unless $controller->DOES("Whelk::Role::Resource")
92 0 24 unless $config->{'path'} =~ m[^/]
117 10 14 if $controller->can("schemas")
130 14 5 unless $config
132 2 3 unless ref $config eq "HASH"
147 5 0 if (defined $config->{'path'})
149 0 5 unless $config->{'path'} =~ m[^/]