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
90 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";}
95 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";}
100 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";}
105 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";}
276 229 153 2 length $filename and $param->getValue("canonicalname")
284 379 0 5 $param->getValue("efs") and $] >= "5.008004"
367 379 4 0 $param->getValue("efs") and length $filename || length $comment
372 19 344 20 45 > $version and *$self->{'ZipData'}{'Zip64'}
655 367 19 0 $method == 12 and not defined $IO::Compress::Adapter::Bzip2::VERSION
659 386 0 0 $method == 14 and not defined $IO::Compress::Adapter::Lzma::VERSION
681 0 386 0 defined $IO::Compress::Bzip2::VERSION and not IO::Compress::Bzip2::ckParams($self, $got)

or 3 conditions

line l !l&&r !l&&!r condition
84 1 1 1 $method == 0 or $method == 8
367 4 0 0 length $filename || length $comment
554 0 0 317 *$self->{'ZipData'}{'Offset'}->is64bit or $entries >= 65535
621 0 0 0 ref $timeRef ne "ARRAY" or @$timeRef != 3
636 0 0 0 ref $idRef ne "ARRAY" or @$idRef != 2
646 26 0 360 $got->getValue("zip64") or $got->getValue("extrafieldzip64")