Condition Coverage

blib/lib/Kelp/Response.pm
Criterion Covered Total %
condition 23 26 88.4


and 3 conditions

line !l l&&!r l&&r condition
77 15 154 23 !$self->content_type && ref $body

or 2 conditions

line l !l condition
71 185 7 shift() // ''
100 2 0 shift() // ''
117 18 14 $code //= 500
118 18 14 $error //= 'Internal Server Error'

or 3 conditions

line l !l&&r !l&&!r condition
78 15 23 154 $self->content_type || ref $body
81 8 23 161 $is_json or $guess_json
149 0 4 4 $self->content_type || ref $body
151 0 4 4 $is_html or $guess_html
171 6 6 25 not defined $error or $self->app->mode eq 'deployment'