Branch Coverage

blib/lib/WWW/AUR/Package/File.pm
Criterion Covered Total %
branch 11 42 26.1


line true false branch
21 0 4 unless -r $path
34 0 1 if $self->{'pkgbuild'}
36 0 1 unless $self->src_dir_path
39 0 1 unless open my $pbfile, '<', $pbpath
53 0 2 if $self->{'pkgbuild'}
56 0 2 unless my $name = basename($self->src_pkg_path, '.src.tar.gz')
75 0 2 unless my $tarball = 'Archive::Tar'->new($pkgpath)
78 0 2 unless chdir $destdir
80 0 2 unless $tarball->extract
89 0 2 if $@
114 0 1 unless $self->src_dir_path
129 0 0 if (eval { do { $arch->[0] eq 'any' } })
133 0 0 unless ($arch eq 'any')
152 0 0 if $self->bin_pkg_path
157 0 0 if ($pkgdest) { }
166 0 0 if $params{'prefix'}
167 0 0 if $params{'args'}
169 0 0 if ($params{'quiet'})
173 0 0 unless ($? == 0)
174 0 0 $? & 127 ? :
183 0 0 unless my $built_path = $self->_builtpkg_path($pkgdest)