Condition Coverage

blib/lib/CGI/Application/Plugin/Stream.pm
Criterion Covered Total %
condition 11 16 68.7


or 2 conditions

line l !l condition
20 2 18 $bytes ||= 1024
64 16 0 $mime_type ||= 'application/octet-stream'

or 3 conditions

line l !l&&r !l&&!r condition
53 2 0 18 $existing_headers{'-type'} or $existing_headers{'type'}
70 2 0 18 $existing_headers{'Content_Length'} or $existing_headers{'-Content_Length'}
76 2 0 18 $existing_headers{'-attachment'} or $existing_headers{'attachment'}
2 0 16 $existing_headers{'-attachment'} or $existing_headers{'attachment'} or grep /-?content-disposition/i, keys %existing_headers