Condition Coverage

blib/lib/Plack/App/File.pm
Criterion Covered Total %
condition 10 14 71.4


or 2 conditions

line l !l condition
43 126 0 $env->{'PATH_INFO'} || ''
49 125 0 $self->root || '.'
89 14 2 $self->content_type || 'Plack::MIME'->mime_type($file) || 'text/plain'
97 0 14 $self->encoding || 'utf-8'

or 3 conditions

line l !l&&r !l&&!r condition
23 130 0 1 $method eq "GET" or $method eq "HEAD"
25 4 111 15 $self->file || $self->locate_file($env)