Condition Coverage

blib/lib/Plack/Middleware/AccessLog/Structured.pm
Criterion Covered Total %
condition 9 14 64.2


and 3 conditions

line !l l&&!r l&&r condition
22 5 1 1 defined $self->callback and ref $self->callback ne 'CODE'
25 4 1 1 defined $self->extra_field and ref $self->extra_field ne 'HASH'

or 2 conditions

line l !l condition
82 5 0 $self->logger || sub { $env->{'psgi.errors'}->print($_[0] . "\n"); }

or 3 conditions

line l !l&&r !l&&!r condition
58 5 0 0 $env->{'HTTP_HOST'} || $env->{'SERVER_NAME'}
5 0 0 Plack::Util::content_length($cb_res->[2]) || $h->get('Content-Length')