Branch Coverage

blib/lib/Alien/PNG.pm
Criterion Covered Total %
branch 19 50 38.0


line true false branch
172 0 10 if 'Alien::PNG::ConfigData'->config('script')
173 0 10 if 'Alien::PNG::ConfigData'->config('win32_pkgconfig')
174 10 0 if 'Alien::PNG::ConfigData'->config('config')
180 0 2 unless $header
187 4 8 if /\Q$header\E$/
188 0 2 unless @files
191 0 2 unless open DAT, $files[0]
202 0 2 if $v_maj eq '' or $v_min eq '' or $v_pat eq ''
229 2 0 if ($obj) { }
246 0 0 unless $script and $param =~ /[a-z0-9_]*/i
249 0 0 if ($param eq 'cflags') { }
0 0 elsif ($param eq 'libs') { }
253 0 0 if scalar @add_libs
265 0 0 unless $pkgconfig and $param =~ /[a-z0-9_]*/i
268 0 0 unless $prefix
272 0 0 if (ref $pkgconfig->{$param} eq 'ARRAY') { }
0 0 elsif (ref $pkgconfig->{$param} eq 'HASH') { }
291 0 10 unless $subdir
293 0 10 unless $param =~ /[a-z0-9_]*/i
295 0 10 unless $val
297 2 8 if ($param eq 'cflags') { }
0 8 elsif ($param eq 'libs') { }
301 0 0 if scalar @add_libs
305 2 8 if ($param =~ /^(ld_shared_libs|ld_paths)$/) { }
0 8 elsif ($param =~ /^(ld_shlib_map)$/) { }