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 96 -f _ && -r _
1 96 1 -e $inValue and not -f _ && -r _
270 0 0 0 substr($name, -1, 1) eq '/' && $self->{'Info'}{'UncompressedLength'} == 0
405 73 72 726 $self->smartReadExact(\$buffer, 46) and unpack("V", $buffer) == 33639248
454 366 288 72 $filesOnly and substr($filename, -1, 1) eq "/"
654 0 72 $filesOnly and substr($filename, -1, 1) eq "/" and $uncompressedLength == 0
591 0 73 72 $entries and U64::full32($centralDirOffset)
632 376 0 78 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 217 506 shift() || 0
361 0 723 shift() || 'Error Seeking in CentralDirectory'

or 3 conditions

line l !l&&r !l&&!r condition
90 49 0 0 $inType eq "buffer" or $inType eq "handle"