lib/Mojolicious/Plugin/ContextResources.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
13 | 4 | 4 | if ($stash->{'controller'} and $stash->{'action'}) { } |
4 | 0 | elsif ($stash->{'mojo.captures'}{'template'}) { } | |
37 | 0 | 4 | unless @path |
41 | 2 | 2 | unless -f $path |
50 | 0 | 4 | unless @path |
54 | 2 | 2 | unless -f $path |
63 | 1 | 1 | unless $url |
72 | 1 | 1 | unless $url |