Condition Coverage

blib/lib/Plack/Middleware/LogStderr.pm
Criterion Covered Total %
condition 17 25 68.0


and 3 conditions

line !l l&&!r l&&r condition
72 6 6 6 $extra_cb eq 'tie' and $self->tie_callback
75 12 3 3 $extra_cb eq 'capture' and $self->capture_callback
122 0 0 0 warnings::enabled() and not $self->{'no_warnings'}
130 0 0 0 warnings::enabled() and not $self->{'no_warnings'}

or 2 conditions

line l !l condition
16 2 17 $self->log_level || 'error'
94 4 8 &Scalar::Util::reftype($_[0]) || ''

or 3 conditions

line l !l&&r !l&&!r condition
17 1 18 0 $self->log_level_capture || $self->{'log_level'}
30 1 5 1 $self->logger || $env->{'psgix.logger'}
94 10 0 12 ref $_[0] eq 'CODE' or (&Scalar::Util::reftype($_[0]) || '') eq 'CODE'