Condition Coverage

blib/lib/MDV/Packdrakeng/zlib.pm
Criterion Covered Total %
condition 10 17 58.8


and 3 conditions

line !l l&&!r l&&r condition
98 3 16 0 defined $$pack{'ustream_data'} and $$fileinfo{'coff'} != $$pack{'ustream_data'}{'coff'} || $$fileinfo{'off'} < ($$pack{'ustream_data'}{'off'} || 0)
114 0 0 11 $magic[0] == 31 and $magic[1] == 139
174 137 0 0 $$pack{'ustream_data'}{'read'} < $$fileinfo{'off'} and $$pack{'ustream_data'}{'read'} + $l > $$fileinfo{'off'}

or 2 conditions

line l !l condition
81 128 8 syswrite($$pack{'handle'}, $cbuf) || 0

or 3 conditions

line l !l&&r !l&&!r condition
98 8 0 8 $$fileinfo{'coff'} != $$pack{'ustream_data'}{'coff'} || $$fileinfo{'off'} < ($$pack{'ustream_data'}{'off'} || 0)
168 118 11 0 $status == Z_OK() or $status == Z_STREAM_END()