Condition Coverage

blib/lib/Archive/Zip/SimpleUnzip.pm
Criterion Covered Total %
condition 23 37 62.1


and 3 conditions

line !l l&&!r l&&r condition
92 1 0 112 -f _ && -r _
1 112 1 -e $inValue and not -f _ && -r _
270 0 0 0 substr($name, -1, 1) eq '/' && $self->{'Info'}{'UncompressedLength'} == 0
405 85 84 846 $self->smartReadExact(\$buffer, 46) and unpack('V', $buffer) == 33639248
454 426 336 84 $filesOnly and substr($filename, -1, 1) eq '/'
762 0 84 $filesOnly and substr($filename, -1, 1) eq '/' and $uncompressedLength == 0
591 0 85 84 $entries and U64::full32($centralDirOffset)
632 436 0 90 substr($self->{'Info'}{'Name'}, -1, 1) eq '/' && $self->{'Info'}{'UncompressedLength'} == 0
793 4 4 0 -e $path and not -d $path
929 0 0 0 defined defined *$self->{'SZ'} and *$self->{'Inner'}{'Open'}

or 2 conditions

line l !l condition
360 253 590 shift() || 0
361 0 843 shift() || 'Error Seeking in CentralDirectory'

or 3 conditions

line l !l&&r !l&&!r condition
90 57 0 0 $inType eq 'buffer' or $inType eq 'handle'