Branch Coverage

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


line true false branch
120 0 0 if $class->runtime_prop
122 0 0 if $class->install_type('system')
148 0 0 if $loaded->{$l}
151 0 0 unless ($path)
188 14 0 $class->config('finished_installing') ? :
193 0 14 unless defined $dist_dir and -d $dist_dir
209 0 12 if $^O =~ /^(MSWin32|msys)$/
211 0 12 if $^O =~ /^(MSWin32|msys)$/
213 12 0 if ($prefix ne $distdir)
242 3 4 $class->runtime_prop ? :
247 3 0 $class->runtime_prop ? :
267 3 4 $class->runtime_prop ? :
272 3 0 $class->runtime_prop ? :
317 17 2 @_ ? :
326 6 2 if ($self->install_type('system'))
329 0 6 $static ? :
336 0 6 if $! or $?
340 6 0 if ($self->config('system_provides'))
341 0 6 if (my $system_provides = $self->config('system_provides')->{$keyword})
342 0 0 length $pcdata ? :
359 2 0 if (defined $self->config('original_prefix') and $self->config('original_prefix') ne $self->dist_dir)
362 0 2 if $^O eq 'MSWin32'
381 14 0 if -d $_ or not /\.pc$/
388 0 2 unless keys %all
397 0 2 if @_
401 2 0 if (keys %all) { }
426 25 44 if (my $ab_config = $class->runtime_prop)
434 0 44 if $@
442 0 14 if ($^O eq 'MSWin32') { }
481 1 1 if ($class->install_type('system')) { }
484 1 0 unless (defined $name)
499 1 0 if (-d $dynamic)
537 1 2 if ($class->install_type('system')) { }
540 0 1 unless defined $prop
541 1 0 unless defined $prop->{'system_bin_dir'}
542 0 0 ref $prop->{'system_bin_dir'} ? :
547 2 0 -d $dir ? :
636 0 0 unless $class->config('inline_auto_include')
642 0 0 unless $language =~ /^(C|CPP)$/
648 0 0 if (@{$class->inline_auto_include;} > 0)
673 98 6 if exists $alien_build_config_cache{$class}
676 1 5 ref $class ? :
679 1 5 if $@
681 3 2 unless -r $alien_json