blib/lib/Mojolicious/Plugin/DigestAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 68 | $app->can('secret') ? : |
23 | 68 | 0 | if ref $defaults{'secret'} eq 'ARRAY' |
29 | 1 | 70 | if @_ % 2 |
32 | 1 | 70 | unless defined $$options{'allow'} |
35 | 0 | 70 | if (blessed $allow and $allow->can('get')) { } |
70 | 0 | elsif (ref $allow eq 'HASH') { } | |
40 | 70 | 0 | if (ref((values %$allow)[0]) ne 'HASH') |
52 | 1 | 66 | if ($route) |
53 | 0 | 1 | $c->app->routes->can('bridge') ? : |