| blib/lib/Plack/App/DirectoryIndex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 152 | 3 | 1 | if (-d $dir and $dir_index and -f "$dir$dir_index") |
| 156 | 3 | 1 | if (-f $dir) |
| 162 | 0 | 1 | unless ($dir_url =~ m[/$]) |
| 171 | 2 | 1 | if $ent eq "." or $ent eq ".." |
| 184 | 0 | 1 | if ($is_dir) |
| 189 | 0 | 1 | $is_dir ? : |
| 198 | 0 | 1 | $self->pretty ? : |