Branch Coverage

blib/lib/Plack/App/File/CaseInsensitive.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
22 0 1 unless ref $file and ref $file eq 'ARRAY' and $$file[0] == 404
31 0 1 if ($path =~ /\0/)
37 1 0 if (@path) { }
38 1 0 if $path[0] eq ''
43 0 1 if (grep(($_ eq '..'), @path))
51 1 0 if ($self->should_handle($try)) { }
0 0 elsif (not $self->allow_path_info) { }
61 0 1 unless ($file)
65 0 1 unless (-r $file)
80 3 19 if (-d $File::Find::name and not $full_path =~ /^\Q$File::Find::name\E/i)
84 1 18 if $File::Find::name =~ /$re/
88 0 1 if @files > 1