blib/lib/Puncheur/Plugin/HandleStatic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 20 | 30.0 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 1 | unless ref $self |
16 | 1 | 0 | if (delete $opts{'handle_static'} or $$self{'handle_static'}) |
19 | 1 | 0 | if ref $dir eq 'HASH' |
32 | 0 | 2 | if ($vpath and my $content = $$vpath{$path_info} and $path_info =~ m[^/]) { } |
0 | 2 | elsif ($path_info =~ qr"^(?:/robots\.txt|/favicon\.ico)$") { } | |
0 | 2 | elsif ($path_info =~ m[^/static/]) { } | |
38 | 0 | 0 | if ($$cache{$app_name}{$path_info}) { } |
42 | 0 | 0 | if ($ct =~ /$is_text/) { } |
51 | 0 | 0 | if ($ct =~ /$is_text/) |
53 | 0 | 0 | if ref $encoding |