Condition Coverage

blib/lib/MDV/Packdrakeng.pm
Criterion Covered Total %
condition 35 65 53.8


and 3 conditions

line !l l&&!r l&&r condition
42 22 10 3 $_ > 25 && $_ < 32
229 0 0 8 $header eq $toc_header and $trailer eq $toc_footer
267 0 0 124 defined $$pack{'files'}{$a} && defined $$pack{'files'}{$b}
378 8 45 0 defined $$pack{'ustream_data'} and !defined($fileinfo) || ($$fileinfo{'coff'} != $$pack{'ustream_data'}{'coff'} || $$fileinfo{'off'} < $$pack{'ustream_data'}{'off'})
451 1809 0 0 $$pack{'ustream_data'}{'read'} < $$fileinfo{'off'} and $$pack{'ustream_data'}{'read'} + $length > $$fileinfo{'off'}
549 0 55 9 $$pack{'block_size'} > 0 and $$pack{'current_block_csize'} >= $$pack{'block_size'}

or 2 conditions

line l !l condition
42 0 7 $ENV{'TMPDIR'} || '/tmp'
93 6 10 $options{'extern'} || 0
0 16 $options{'bufsize'} || 65536
138 2 0 $$pack{'compress_method'} ||= 'bzip2'
141 7 5 $$pack{'compress_method'} ||= 'gzip'
559 0 4 $prefix ||= ''
602 64 0 $dir ||= '.'

or 3 conditions

line l !l&&r !l&&!r condition
133 8 0 8 defined $$pack{'compress_method'} or defined $$pack{'uncompress_method'}
135 11 5 0 $$pack{'compress_method'} || $$pack{'uncompress_method'}
152 7 5 0 $$pack{'uncompress_method'} ||= "$$pack{'compress_method'} -d"
234 1 7 0 $$pack{'uncompress_method'} ||= $uncompress
378 3 0 42 !defined($fileinfo) || ($$fileinfo{'coff'} != $$pack{'ustream_data'}{'coff'} || $$fileinfo{'off'} < $$pack{'ustream_data'}{'off'})
420 1 1 1 $$pack{'uncompress_method'} eq 'gzip -d' || $$pack{'uncompress_method'} eq 'bzip2 -d'
604 0 2 0 -d $dest or mkpath($dest)
608 2 0 0 -d $dir or mkpath($dir)
615 60 0 0 -d $dir or mkpath($dir)
669 0 0 0 $handle ||= *STDOUT
684 0 0 0 $handle ||= *STDOUT