blib/lib/Plack/Middleware/AccessLog/Structured.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 14 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 3 | 1 | 1 | defined $self->callback and ref $self->callback ne 'CODE' |
29 | 2 | 1 | 1 | defined $self->extra_field and ref $self->extra_field ne 'HASH' |
line | l | !l | condition |
---|---|---|---|
86 | 3 | 0 | $self->logger || sub { $$env{'psgi.errors'}->print($_[0] . "\n"); } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
50 | 3 | 0 | 0 | $$env{'HTTP_HOST'} || $$env{'SERVER_NAME'} |
3 | 0 | 0 | Plack::Util::content_length($$res[2]) || $h->get('Content-Length') |