Condition Coverage

blib/lib/POE/Filter/HTTPD/Chunked.pm
Criterion Covered Total %
condition 25 39 64.1


and 3 conditions

line !l l&&!r l&&r condition
141 139 52 72 $to_return and not scalar @{$to_return;}
402 22 23 0 $requirement == 1 and $has_body
45 0 0 $requirement == 3 and not $has_body
442 38 0 21 defined $content_length and $content_length
38 20 1 defined $content_length and $content_length and $is_chunked
47 10 1 $is_chunked and $$self[4]->protocol eq 'HTTP/1.0'

or 2 conditions

line l !l condition
26 0 2 $ENV{'POE_FILTER_HTTPD_DEBUG'} || 0
190 2 0 status_message $code || 'Unknown Error'
191 2 0 $_->message || ''
192 0 2 $_->protocol || 'HTTP/1.0'
244 12 0 $content_type ||= 'text/html'
245 12 0 $status ||= 200
292 12 0 $status ||= 400
293 12 0 $details ||= ''
294 12 0 status_message $status || 'Unknown Error'

or 3 conditions

line l !l&&r !l&&!r condition
326 31 16 0 $version ||= $HTTP_0_9