| line |
true |
false |
branch |
| 93 |
1 |
4 |
if $self->isDirectory |
| 108 |
0 |
71 |
$#_ > 0 ? : |
| 129 |
119 |
337 |
if (defined $newDesiredCompressionMethod) |
| 131 |
44 |
75 |
if ($newDesiredCompressionMethod == 0) { } |
| |
74 |
1 |
elsif ($oldDesiredCompressionMethod == 0) { } |
| 145 |
0 |
19 |
if (defined $newDesiredCompressionLevel) |
| 147 |
0 |
0 |
$newDesiredCompressionLevel ? : |
| 159 |
77 |
1041 |
if ($newName) |
| 219 |
0 |
149 |
if ($format == 1) |
| 225 |
0 |
149 |
if ($format == 18) |
| 227 |
0 |
0 |
if (($attribs & 4026531840) != 1073741824) { } |
| 235 |
149 |
0 |
if ($format == 3 or $format == 2 or $format == 13 or $format == 5 or $format == 16 or $format == 12 or $format == 17) |
| 244 |
149 |
0 |
if $mode != 0 or not $self->localExtraField |
| 271 |
0 |
0 |
if ($format == 0) |
| 280 |
0 |
0 |
if ($mode & 448) == (256 | $attribs << 6) |
| 288 |
146 |
3 |
if (@_) |
| 290 |
4 |
142 |
if ($self->isDirectory) { } |
| 304 |
0 |
315 |
$#_ > 0 ? : |
| 310 |
0 |
142 |
$#_ > 0 ? : |
| 319 |
0 |
142 |
$#_ > 0 ? : |
| 326 |
8 |
144 |
if (@_) |
| 328 |
8 |
0 |
if ($shouldHave) { } |
| 361 |
64 |
9 |
if (@_) |
| 364 |
56 |
8 |
$flag ? : |
| 373 |
0 |
9 |
if (@_) |
| 376 |
0 |
0 |
$flag ? : |
| 385 |
0 |
11 |
if $self->isEncrypted |
| 388 |
0 |
11 |
unless $status |
| 461 |
0 |
77 |
unless defined $dt |
| 474 |
0 |
77 |
if $@ |
| 486 |
1 |
86 |
unless ($time_t) |
| 490 |
0 |
87 |
if ($time_t < $safe_epoch) |
| 514 |
0 |
71 |
unless $fh->print($signatureData) |
| 530 |
0 |
71 |
unless $fh->print($header) |
| 531 |
71 |
0 |
if ($self->fileName) |
| 532 |
0 |
71 |
unless $fh->print($self->fileName) |
| 535 |
0 |
71 |
if ($self->localExtraField) |
| 536 |
0 |
0 |
unless $fh->print($self->localExtraField) |
| 549 |
0 |
71 |
unless $fh->print($sigData) |
| 576 |
0 |
71 |
unless $fh->print($header) |
| 578 |
71 |
0 |
if ($fileNameLength) |
| 579 |
0 |
71 |
unless $fh->print($self->fileName) |
| 582 |
0 |
71 |
if ($extraFieldLength) |
| 583 |
0 |
0 |
unless $fh->print($self->cdExtraField) |
| 586 |
0 |
71 |
if ($fileCommentLength) |
| 587 |
0 |
0 |
unless $fh->print($self->fileComment) |
| 610 |
0 |
31 |
unless $fh->print($header) |
| 623 |
0 |
26 |
unless $fh->seek($self->writeLocalHeaderRelativeOffset + 4, IO::Seekable::SEEK_SET()) |
| 640 |
0 |
26 |
unless $fh->print($header) |
| 642 |
0 |
26 |
unless $fh->seek($here, IO::Seekable::SEEK_SET()) |
| 651 |
8 |
73 |
if ($self->readIsDone) |
| 657 |
0 |
73 |
if not defined $chunkSize |
| 658 |
69 |
4 |
if $chunkSize > $self->_readDataRemaining |
| 664 |
0 |
73 |
unless $status == 0 |
| 669 |
62 |
11 |
if ($self->compressionMethod == 0) |
| 676 |
72 |
1 |
if $self->readIsDone |
| 708 |
19 |
0 |
if ($self->_readDataRemaining == 0) { } |
| |
0 |
0 |
elsif ($status == Z_OK()) { } |
| 731 |
2 |
0 |
unless $status == Z_OK() |
| 732 |
2 |
0 |
if ($status == Z_OK() or $status == Z_STREAM_END()) { } |
| 733 |
2 |
0 |
$status == Z_STREAM_END() ? : |
| 751 |
14 |
76 |
if $self->uncompressedSize == 0 |
| 755 |
79 |
11 |
if $self->compressionMethod == 0 |
| 759 |
19 |
71 |
if ($self->compressionMethod == 0 and $self->desiredCompressionMethod == 8) { } |
| |
2 |
69 |
elsif ($self->compressionMethod == 8 and $self->desiredCompressionMethod == 0) { } |
| |
69 |
0 |
elsif ($self->compressionMethod == $self->desiredCompressionMethod) { } |
| 768 |
0 |
19 |
unless $status == Z_OK() |
| 780 |
0 |
2 |
unless $status == Z_OK() |
| 797 |
79 |
11 |
$self->compressionMethod == 0 ? : |
| 825 |
2 |
3 |
if (defined $newContents) { } |
| 836 |
0 |
3 |
if ($status != 0) |
| 846 |
3 |
3 |
if (length $$ref == $self->uncompressedSize) { } |
| 853 |
3 |
0 |
if $status == 1 |
| 854 |
0 |
3 |
unless $status == 0 |
| 855 |
0 |
3 |
wantarray ? : |
| 861 |
0 |
11 |
if $self->isEncrypted |
| 866 |
11 |
0 |
if $status == 0 |
| 879 |
0 |
71 |
unless $self->fileName |
| 897 |
8 |
63 |
if $shouldWriteDataDescriptor |
| 903 |
71 |
0 |
if $status == 0 |
| 905 |
71 |
0 |
if $status == 0 |
| 907 |
71 |
0 |
if ($status == 0) |
| 909 |
31 |
40 |
if ($self->hasDataDescriptor) { } |
| |
26 |
14 |
elsif ($headerFieldsUnknown) { } |
| 926 |
14 |
68 |
if $self->uncompressedSize == 0 |
| 932 |
0 |
68 |
if $status != 0 and $status != 1 |
| 934 |
68 |
0 |
if (length $$outRef > 0) |
| 935 |
0 |
68 |
unless $writeFh->print($$outRef) |
| 939 |
21 |
47 |
if $status == 1 |