blib/lib/Plack/App/Directory/Markdown.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
62 | 1 | 2 | if (-f $dir) |
63 | 1 | 0 | if ($self->is_markdown($dir)) { } |
64 | 0 | 1 | unless open my $fh, '<:encoding(UTF-8)', $dir |
90 | 0 | 2 | unless ($dir_url =~ m[/$]) |
95 | 0 | 2 | if $$env{'PATH_INFO'} ne '/' |
100 | 4 | 2 | if $ent eq '.' or $ent eq '..' |
109 | 0 | 2 | unless $is_dir or $self->is_markdown($file) |
115 | 0 | 2 | if ($is_dir) |
135 | 0 | 3 | if ($self->markdown_ext) { } |
150 | 0 | 0 | if $root and not $root =~ m[/$] |