Condition Coverage

blib/lib/CGI/Compress/Gzip.pm
Criterion Covered Total %
condition 12 24 50.0


and 3 conditions

line !l l&&!r l&&r condition
232 0 0 0 not $compress and $global_give_reason
0 0 0 not $compress and $global_give_reason and $reason
243 0 0 0 not $$self{'.CGIgz'}{'header_done'}++ and $compress
286 1 19 0 $acc and $acc =~ / \bgzip\b /imsx
300 2 15 1 @{$header;} and $$header[0] =~ / \A [a-z] /msx

or 2 conditions

line l !l condition
206 18 1 $type || ''
383 6 8 $content_type ||= 'text/html'
414 0 0 $$settings{'ext_fh'} ||= \*STDOUT

or 3 conditions

line l !l&&r !l&&!r condition
351 2 1 3 not defined $status or $status ne '200'