Condition Coverage

blib/lib/Archive/Zip/Member.pm
Criterion Covered Total %
condition 69 109 63.3


and 2 conditions

line l !l condition
556 83 3 $self->isSymbolicLink and 1
1400 492 5 $self->isSymbolicLink and 1

and 3 conditions

line !l l&&!r l&&r condition
542 86 0 0 $^O eq 'MSWin32' and $Archive::Zip::UNICODE
560 83 0 0 $^O eq 'MSWin32' and $Archive::Zip::UNICODE
660 8 3 40 @_ == 3 and $dataLength == 16
8 3 0 @_ == 3 and $dataLength == 24
8 3 0 @_ == 3 and $dataLength == 28
3 8 0 @_ == 5 and $dataLength == 24
3 7 1 @_ == 5 and $dataLength == 28
694 43 1 7 @fields > 3 and $fields[3] == 4294967295
699 43 7 1 @fields > 3 and $fields[4] == 65535
1121 0 427 3 $buffer and $self->isEncrypted
1212 78 335 106 $self->compressionMethod == 0 and $self->desiredCompressionMethod == 8
337 55 21 $self->compressionMethod == 8 and $self->desiredCompressionMethod == 0
1356 91 160 158 $headerFieldsUnknown && !$fhIsSeekable
1412 288 118 0 $status != 0 and $status != 1

or 3 conditions

line l !l&&r !l&&!r condition
183 0 0 409 $self->desiredCompressionLevel == 1 or $self->desiredCompressionLevel == 2
0 0 409 $self->desiredCompressionLevel == 3 or $self->desiredCompressionLevel == 4
0 0 409 $self->desiredCompressionLevel == 3 or $self->desiredCompressionLevel == 4 or $self->desiredCompressionLevel == 5
0 0 409 $self->desiredCompressionLevel == 3 or $self->desiredCompressionLevel == 4 or $self->desiredCompressionLevel == 5 or $self->desiredCompressionLevel == 6
0 0 409 $self->desiredCompressionLevel == 3 or $self->desiredCompressionLevel == 4 or $self->desiredCompressionLevel == 5 or $self->desiredCompressionLevel == 6 or $self->desiredCompressionLevel == 7
0 0 409 $self->desiredCompressionLevel == 8 or $self->desiredCompressionLevel == 9
342 678 0 4 $format == 3 or $format == 2
678 0 4 $format == 3 or $format == 2 or $format == 13
0 0 4 $format == 3 or $format == 2 or $format == 13 or $format == 5
0 0 4 $format == 3 or $format == 2 or $format == 13 or $format == 5 or $format == 16
0 0 4 $format == 3 or $format == 2 or $format == 13 or $format == 5 or $format == 16 or $format == 12
0 0 4 $format == 3 or $format == 2 or $format == 13 or $format == 5 or $format == 16 or $format == 12 or $format == 17
350 326 352 0 $mode != 0 or not $self->localExtraField
905 409 6 17 not $refresh or $zip64
953 0 0 289 $adz64m == 2 || $self->desiredZip64Mode == 2 || $self->_writeOffset > 4294967295 || $self->uncompressedSize > 4294967295 || $self->writeLocalHeaderRelativeOffset > 4294967295
959 120 0 289 $self->{'zip64'} ||= $zip64
992 0 120 0 $localHeaderRelativeOffset > 4294967295 or @extraFieldValues == 0
1186 2 13 0 $status == Z_OK() or $status == Z_STREAM_END()
1264 131 302 439 $self->_dataEnded || !$self->_readDataRemaining
1363 120 0 289 $adz64m == 2 || $self->desiredZip64Mode == 2 || $self->uncompressedSize > 4294967295
1367 0 120 289 $self->{'zip64'} ||= $zip64