Branch Coverage

blib/lib/Plack/Middleware/AccessLog/Structured.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
22 1 6 if (defined $self->callback and ref $self->callback ne 'CODE')
25 1 5 if (defined $self->extra_field and ref $self->extra_field ne 'HASH')
58 2 3 defined $content_type ? :
71 1 4 if ($self->extra_field)
78 1 4 if ($self->callback)
93 10 5 if defined $string