Condition Coverage

blib/lib/IO/Compress/Zip.pm
Criterion Covered Total %
condition 29 63 46.0


and 3 conditions

line !l l&&!r l&&r condition
91 1 0 0 $method == 12 and defined $IO::Compress::Adapter::Bzip2::VERSION
1 0 0 $method == 12 and defined $IO::Compress::Adapter::Bzip2::VERSION and defined &{"IO::Compress::Adapter::Bzip2::mkRawZipCompObject";}
96 1 0 0 $method == 14 and defined $IO::Compress::Adapter::Lzma::VERSION
1 0 0 $method == 14 and defined $IO::Compress::Adapter::Lzma::VERSION and defined &{"IO::Compress::Adapter::Lzma::mkRawZipCompObject";}
101 1 0 0 $method == 95 and defined $IO::Compress::Adapter::Xz::VERSION
1 0 0 $method == 95 and defined $IO::Compress::Adapter::Xz::VERSION and defined &{"IO::Compress::Adapter::Xz::mkRawZipCompObject";}
106 1 0 0 $method == 93 and defined $IO::Compress::Adapter::ZSTD::VERSION
1 0 0 $method == 93 and defined $IO::Compress::Adapter::ZSTD::VERSION and defined &{"IO::Compress::Adapter::ZSTD::mkRawZipCompObject";}
277 229 181 2 length $filename and $param->getValue("canonicalname")
285 407 0 5 $param->getValue("efs") and $] >= "5.008004"
368 407 4 0 $param->getValue("efs") and length $filename || length $comment
373 21 370 20 45 > $version and *$self->{'ZipData'}{'Zip64'}
656 393 21 0 $method == 12 and not defined $IO::Compress::Adapter::Bzip2::VERSION
660 414 0 0 $method == 14 and not defined $IO::Compress::Adapter::Lzma::VERSION
682 0 414 0 defined $IO::Compress::Bzip2::VERSION and not IO::Compress::Bzip2::ckParams($self, $got)

or 3 conditions

line l !l&&r !l&&!r condition
85 1 1 1 $method == 0 or $method == 8
368 4 0 0 length $filename || length $comment
555 0 0 345 *$self->{'ZipData'}{'Offset'}->is64bit or $entries >= 65535
622 0 0 0 ref $timeRef ne "ARRAY" or @$timeRef != 3
637 0 0 0 ref $idRef ne "ARRAY" or @$idRef != 2
647 26 0 388 $got->getValue("zip64") or $got->getValue("extrafieldzip64")