Condition Coverage

blib/lib/Plack/Middleware/XSendfile.pm
Criterion Covered Total %
condition 5 14 35.7


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 1 &Scalar::Util::blessed($body) and $body->can("path")
23 0 0 1 $type and not $h->exists($type)

or 2 conditions

line l !l condition
21 1 0 $self->_variation($env) || ''

or 3 conditions

line l !l&&r !l&&!r condition
24 1 0 0 $type eq "X-Sendfile" or $type eq "X-Lighttpd-Send-File"
58 0 0 1 $self->variation or $env->{'plack.xsendfile.type'}