| blib/lib/Plack/App/WWW.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 12 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 0 | 3 | if -d $self->root . $env->{'PATH_INFO'} |
| 21 | 0 | 3 | if ref $file eq 'ARRAY' |
| 23 | 0 | 3 | if ($path_info) { } |
| 40 | 2 | 1 | if ($self->_valid_file_perl($file)) { } |
| 53 | 2 | 1 | if $file =~ /.(pl|cgi)$/i |
| 54 | 0 | 1 | if $self->shebang_for($file) =~ /^\#\!.*perl/ |