Condition Coverage

blib/lib/Plack/Middleware/FormatOutput.pm
Criterion Covered Total %
condition 6 11 54.5


and 3 conditions

line !l l&&!r l&&r condition
86 0 1 6 not Plack::Util::status_with_no_entity_body($res->[0]) and defined $res->[2]
89 0 6 0 $res->[1] and @{$res->[1];}
118 0 7 0 not $accept and $env->{'HTTP_ACCEPT'}

or 2 conditions

line l !l condition
130 6 1 $accept || 'application/json'