Condition Coverage

blib/lib/CGI/Application/Plugin/Stream.pm
Criterion Covered Total %
condition 14 16 87.5


or 2 conditions

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

or 3 conditions

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