blib/lib/Plack/Middleware/FileWrap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 2 | unless defined $headers or defined $footers |
27 | 2 | 0 | if (defined $$res[2]) |
42 | 0 | 4 | unless defined $files |
43 | 0 | 4 | if ref $files eq 'SCALAR' |
44 | 0 | 4 | unless (ref $files) |
50 | 2 | 2 | if (ref $file eq 'SCALAR') { } |
54 | 2 | 0 | if (open my $fh, '<', $file) { } |