Branch Coverage

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


line true false branch
26 1 4 if (defined $self->callback and ref $self->callback ne 'CODE')
29 1 3 if (defined $self->extra_field and ref $self->extra_field ne 'HASH')
50 1 2 defined $content_type ? :
75 1 2 if ($self->extra_field)
82 1 2 if ($self->callback)
97 6 3 if defined $string