Condition Coverage

blib/lib/Plack/Middleware/LogErrors.pm
Criterion Covered Total %
condition 9 11 81.8


and 3 conditions

line !l l&&!r l&&r condition
18 2 1 1 $self->logger and not __isa_coderef($self->logger)

or 2 conditions

line l !l condition
39 1 0 &Scalar::Util::reftype($_[0]) || ''

or 3 conditions

line l !l&&r !l&&!r condition
26 1 1 1 $self->logger || $env->{'psgix.logger'}
39 1 0 1 ref $_[0] eq 'CODE' or (&Scalar::Util::reftype($_[0]) || '') eq 'CODE'