| blib/lib/POE/Component/Server/HTTPServer/StaticHandler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 24 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 0 | 0 | if (exists $args{'index_file'}) { } |
| 25 | 0 | 0 | if (exists $args{'auto_index'}) { } |
| 39 | 0 | 0 | if ($cpath =~ m[(^|/)\.\.(/|$)]) |
| 45 | 0 | 0 | if (-d $filepath) { } |
| 0 | 0 | elsif (-f $filepath) { } | |
| 59 | 0 | 0 | if (open my $in, $filepath) { } |
| 64 | 0 | 0 | unless defined $type |
| 80 | 0 | 0 | if ($$self{'index_file'}) |
| 82 | 0 | 0 | if (-e $index_file) |
| 86 | 0 | 0 | if ($$self{'auto_index'}) |
| 88 | 0 | 0 | if (opendir my $dir, $filepath) { } |
| 95 | 0 | 0 | if $fn =~ /^\./ |