Condition Coverage

blib/lib/CPAN/Tarzip.pm
Criterion Covered Total %
condition 8 40 20.0


and 3 conditions

line !l l&&!r l&&r condition
62 0 0 0 defined $component and $component
124 4 0 0 $read =~ /\.(?:bz2|tbz)$/ and $CPAN::META->has_inst("Compress::Bzip2")
3 0 1 $read =~ /\.(?:gz|tgz)$/ and &_zlib_ok()
179 0 0 0 $file =~ /\.(?:bz2|tbz)$/ and $CPAN::META->has_inst("Compress::Bzip2")
0 0 0 $file =~ /\.(?:gz|tgz)$/ and &_zlib_ok()
260 0 0 1 $CPAN::META->has_usable("Archive::Tar") and &_zlib_ok()
0 0 0 $exttar and $extgzip
282 0 0 0 $^O eq "solaris" and not `$exttar --version 2>/dev/null` =~ /gnu/i

or 2 conditions

line l !l condition
255 1 0 $self->{'TARPRG'} || ''
257 1 0 $self->{'UNGZIPPRG'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 4 0 0 _my_which('tar') || _my_which('gtar')
136 0 0 0 !$err || $err == Compress::Bzip2::BZ_STREAM_END()
157 0 1 0 !$err || $err == Compress::Zlib::Z_STREAM_END()
407 0 0 0 $tar_verb eq "v" or $tar_verb eq "vv"