Branch Coverage

blib/lib/Alien/Base.pm
Criterion Covered Total %
branch 46 88 52.2


line true false branch
119 0 0 if $class->runtime_prop
121 0 0 if $class->install_type('system')
147 0 0 if $loaded->{$l}
150 0 0 unless ($path)
187 14 0 $class->config('finished_installing') ? :
192 0 14 unless defined $dist_dir and -d $dist_dir
208 0 12 if $^O =~ /^(MSWin32|msys)$/
210 0 12 if $^O =~ /^(MSWin32|msys)$/
212 12 0 if ($prefix ne $distdir)
241 3 4 $class->runtime_prop ? :
246 3 0 $class->runtime_prop ? :
266 3 4 $class->runtime_prop ? :
271 3 0 $class->runtime_prop ? :
316 17 2 @_ ? :
325 6 2 if ($self->install_type('system'))
328 0 6 $static ? :
335 0 6 if $! or $?
339 6 0 if ($self->config('system_provides'))
340 0 6 if (my $system_provides = $self->config('system_provides')->{$keyword})
341 0 0 length $pcdata ? :
358 2 0 if (defined $self->config('original_prefix') and $self->config('original_prefix') ne $self->dist_dir)
361 0 2 if $^O eq 'MSWin32'
380 14 0 if -d $_ or not /\.pc$/
387 0 2 unless keys %all
396 0 2 if @_
400 2 0 if (keys %all) { }
425 25 44 if (my $ab_config = $class->runtime_prop)
433 0 44 if $@
441 0 14 if ($^O eq 'MSWin32') { }
480 1 1 if ($class->install_type('system')) { }
483 1 0 unless (defined $name)
498 1 0 if (-d $dynamic)
536 1 2 if ($class->install_type('system')) { }
539 0 1 unless defined $prop
540 1 0 unless defined $prop->{'system_bin_dir'}
541 0 0 ref $prop->{'system_bin_dir'} ? :
546 2 0 -d $dir ? :
635 0 0 unless $class->config('inline_auto_include')
641 0 0 unless $language =~ /^(C|CPP)$/
647 0 0 if (@{$class->inline_auto_include;} > 0)
672 98 6 if exists $alien_build_config_cache{$class}
675 1 5 ref $class ? :
678 1 5 if $@
680 3 2 unless -r $alien_json