Condition Coverage

blib/lib/Alien/Build/Plugin/Extract/CommandLine.pm
Criterion Covered Total %
condition 26 63 41.2


and 3 conditions

line !l l&&!r l&&r condition
61 20 0 0 $^O eq 'solaris' && _which('gtar')
0 0 20 _which('tar') && _windows_tar_is_bsdtar()
78 2 0 0 $^O eq "MSWin32" and _which("tar")
2 0 0 $^O eq "MSWin32" and _which("tar") and _windows_tar_is_bsdtar()
141 6 0 0 $cmd and $src =~ /\.(gz|bz2|xz|Z)$/
6 0 0 $cmd and $src =~ /\.(tgz|tbz|txz|taz)$/
169 7 0 1 $ext eq "tar.gz" and $self->_tar_can("tar.gz")
170 6 0 1 $ext eq "tar.Z" and $self->_tar_can("tar.Z")
171 5 0 1 $ext eq "tar.bz2" and $self->_tar_can("tar.bz2")
172 4 0 1 $ext eq "tar.xz" and $self->_tar_can("tar.xz")
174 4 0 0 $ext =~ s/\.(gz|Z)$// and not $self->gzip_cmd
175 4 0 0 $ext =~ s/\.bz2$// and not $self->bzip2_cmd
176 4 0 0 $ext =~ s/\.xz$// and not $self->xz_cmd
178 1 0 3 $ext eq "tar" and $self->_tar_can("tar")
179 0 1 0 $ext eq "zip" and $self->_tar_can("zip")
197 2 0 0 $self->format eq "tar.xz" and not $self->handles("tar.xz")
2 0 0 $self->format eq "tar.bz2" and not $self->handles("tar.bz2")
2 0 0 $self->format =~ /^tar\.(gz|Z)$/ and not $self->handles($self->format)
2 0 0 $self->format eq "zip" and not $self->handles("zip")
326 0 0 11 defined $content && $content eq "xx\n"

or 3 conditions

line l !l&&r !l&&!r condition
246 6 0 0 $src =~ /\.tar/ or $src =~ /(\.tgz|\.tbz|\.txz|\.taz)$/i