| blib/lib/Mojolicious/Plugin/Cache/Page.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 18 | 16.6 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 1 | 0 | -e $app->home->rel_dir('public') ? : |
| 25 | 0 | 1 | if (defined $$conf{'cache_directory'}) |
| 30 | 0 | 1 | if (defined $$conf{'actions'}) |
| 39 | 0 | 0 | if $c->req->method ne 'GET' |
| 42 | 0 | 0 | if $c->res->code != 200 |
| 45 | 0 | 0 | unless $c->res->headers->content_type =~ m[^text/html] |
| 50 | 0 | 0 | if defined $$conf{'actions'} and not exists $$actions{$name} |
| 55 | 0 | 0 | if (@$parts == 1) { } |
| 69 | 0 | 0 | unless my $handler = 'IO::File'->new($file_name, 'w') |