Branch Coverage

blib/lib/Alien/Build/Plugin/PkgConfig/PP.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
53 28 0 unless (defined $meta->prop->{'env'}{'PKG_CONFIG'})
60 0 0 File::Which::which('pkg-config') ? :
0 0 File::Which::which('pkg-config.pl') ? :
28 0 File::Which::which('ppkg-config') ? :
68 28 0 if defined $command_line
72 21 7 if ($self->register_prereqs)
77 2 26 ref $self->pkg_name ? :
89 3 17 if $pkg->errmsg
95 14 3 unless defined $atleast_version
96 7 10 if (defined $atleast_version)
99 2 5 if ($version < $need)
105 4 11 if (defined $self->exact_version)
108 3 1 if ($version != $need)
114 5 7 if (defined $self->max_version)
117 2 3 if ($version > $need)
126 0 1 if $pkg->errmsg
138 1 3 if $build->hook_prop->{'name'} eq "gather_system" and ($build->install_prop->{'system_probe_instance_id'} || '') ne $self->instance_id
146 0 4 if ($pkg->errmsg)
169 2 1 if (keys %{$build->runtime_prop->{"alt"};} == 1)