| blib/lib/Puncheur/Plugin/HandleStatic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 15 | 20.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 32 | 0 | 2 | 0 | $vpath and my $content = $$vpath{$path_info} |
| 2 | 0 | 0 | $vpath and my $content = $$vpath{$path_info} and $path_info =~ m[^/] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 16 | 0 | 1 | 0 | delete $opts{'handle_static'} or $$self{'handle_static'} |
| 59 | 0 | 0 | 0 | $app_file_1 ||= 'Plack::App::File'->new({'root', $static_dir}) |
| 63 | 0 | 0 | 0 | $app_file_2 ||= 'Plack::App::File'->new({'root', $asset_dir}) |