Branch Coverage

blib/lib/WWW/AUR/Package.pm
Criterion Covered Total %
branch 21 34 61.7


line true false branch
24 0 4662 if @_ == 0
30 4555 107 if ($params{'info'}) { }
35 1 106 unless $info
92 0 2 unless $resp->is_success
107 0 4 unless open my $pkgfile, '>', $pkgpath
115 1 3 if ($usercb)
131 0 4 unless close $pkgfile
132 0 4 unless $resp->is_success
147 0 1 unless defined $mname
150 0 1 unless @_ % 2 == 0
172 0 3 unless $$self{'pkgfile_obj'}
174 0 3 if $@
194 2 0 unless ($$self{'pkgfile_obj'})
213 0 1 unless $resp->is_success
223 1 1 if $$self{'pkgfile_obj'}
226 0 1 if $$self{'pkgbuild_obj'}
233 0 1 if $@