Branch Coverage

lib/Alien/OpenMP/configure.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
31 1 3 unless $supported->{$OS}{'cflags'} or $supported->{$CCNAME}{'cflags'}
43 1 3 unless $supported->{$OS}{'libs'} or $supported->{$CCNAME}{'libs'}
51 0 1 if ($CCNAME eq "gcc" and $OS ne "darwin")
55 0 1 if ($OS eq "darwin")
62 0 1 if (ref $build) { }
0 1 elsif ($build and my $log = $build->can('log')) { }
63 0 0 if $build->install_prop->{'alien_openmp_compiler_has_openmp'}
109 8 5 if $checked
115 0 5 if ($OS eq 'darwin') { }
0 5 elsif ($OS eq 'freebsd') { }
1 4 elsif ($CCNAME eq 'cc') { }
122 0 0 if ($flavour eq 'clang' or $flavour eq 'default') { }
0 0 elsif ($flavour eq 'gcc') { }
134 0 0 if (my $mp = File::Which::which('port')) { }
153 1 0 if defined $Config::Config{'gccversion'}
161 0 0 if $defines =~ /^#define __clang__/m
162 0 0 if $defines =~ /^#define __GCC_/m and $defines =~ /^#define __APPLE__/m