Branch Coverage

blib/lib/WWW/AUR/PKGBUILD.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
20 6 0 if (@_)
35 38 142 if ($bashtext =~ / \G [(] ([^)]*) [)] /cgx)
44 38 8 if $elem
48 38 8 if $elem_end >= length $arrtext or not $arrtext =~ /\G\s+/g
59 27 115 if ($bashtext =~ /\G'([^']*)'/cg) { }
5 110 elsif ($bashtext =~ /\G"/cg) { }
36 74 elsif ($bashtext =~ /\G([^ \n\t'"]+)/cg) { }
93 6 0 if defined $$fields_ref{$name}
116 0 11 unless $pkg
128 0 1 unless $pkg
155 65 37 unless ($pbfields{$arrkey})
163 0 37 unless ref $val_ref
183 1 5 if ($pbfields{'optdepends'}) { }
185 0 1 unless ref $optdeps
202 10 8 unless @deps
207 0 8 if ($@)
213 6 0 if ($pbfields{'provides'})
227 0 1 unless seek $fh, 0, 0
236 1 5 ref $_[0] eq 'GLOB' ? :
258 0 4 unless defined $val