Branch Coverage

blib/lib/Alien/Base/PkgConfig.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
19 0 1 if (ref $_[0] eq "HASH")
24 0 1 unless defined $path
47 0 1 unless open my $fh, "<", $path
51 2 7 if ($line =~ /^([^=:]+?)=([^\n\r]*)/) { }
6 1 elsif ($line =~ /^([^=:]+?):\s*([^\n\r]*)/) { }
63 1 1 if (defined $newval)
72 0 2 unless @_
75 0 2 defined $value ? :
79 2 4 if $key eq $var
98 0 1 unless $override->{$key}
101 6 0 if (defined $string)
102 12 1 unless $override->{$1}
113 0 6 if defined $override and ref $override ne "HASH"
123 1 1 unless (defined $pkg_config_command)
132 0 1 if (`pkg-config --version` and $? == 0 and not $^O eq 'solaris' && $Alien::Base::PkgConfig::Config{'ptrsize'} == 8) { }