Condition Coverage

blib/lib/CGI/Application/Plugin/Stream.pm
Criterion Covered Total %
condition 13 16 81.2


or 2 conditions

line l !l condition
19 1 9 $bytes ||= 1024
59 8 0 $mime_type ||= 'application/octet-stream'

or 3 conditions

line l !l&&r !l&&!r condition
48 1 1 8 $existing_headers{'-type'} or $existing_headers{'type'}
65 0 2 8 $existing_headers{'Content_Length'} or $existing_headers{'-Content_Length'}
71 1 1 8 $existing_headers{'-attachment'} or $existing_headers{'attachment'}
2 0 8 $existing_headers{'-attachment'} or $existing_headers{'attachment'} or grep /-?content-disposition/i, keys %existing_headers