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
57 0 0 0 defined $component and $component
119 4 0 0 $read =~ /\.(?:bz2|tbz)$/ and $CPAN::META->has_inst('Compress::Bzip2')
3 0 1 $read =~ /\.(?:gz|tgz)$/ and $CPAN::META->has_inst('Compress::Zlib')
174 0 0 0 $file =~ /\.(?:bz2|tbz)$/ and $CPAN::META->has_inst('Compress::Bzip2')
0 0 0 $file =~ /\.(?:gz|tgz)$/ and $CPAN::META->has_inst('Compress::Zlib')
255 0 0 1 $CPAN::META->has_usable('Archive::Tar') and $CPAN::META->has_inst('Compress::Zlib')
0 0 0 $exttar and $extgzip
277 0 0 0 $^O eq 'solaris' and not `$exttar --version 2>/dev/null` =~ /gnu/i

or 2 conditions

line l !l condition
250 1 0 $$self{'TARPRG'} || ''
252 1 0 $$self{'UNGZIPPRG'} || ''

or 3 conditions

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