Branch Coverage

blib/lib/Module/Build/XSUtil.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
22 0 0 if $self->pureperl_only and $self->allow_pureperl
24 0 0 unless (defined $args{'cc_warnings'})
28 0 0 unless ($self->have_c_compiler)
34 0 0 if ($^O eq 'cygwin')
39 0 0 if ($self->_xs_debugging)
40 0 0 if ($self->_is_msvc) { }
50 0 0 if ($args{'needs_compiler_cpp'})
53 0 0 unless ($cbuilder->have_cplusplus)
57 0 0 if ($self->_is_gcc)
61 0 0 if $Config::Config{'ccflags'} =~ /-D_FILE_OFFSET_BITS=64/
63 0 0 if $^O eq 'netbsd' and not grep({/\-lgcc_s/;} @{$self->extra_linker_flags;})
64 0 0 if ($args{'needs_compiler_cpp'} == 11 and $self->_enable_cpp11)
68 0 0 if ($self->_is_clang)
73 0 0 if ($self->_is_msvc)
80 0 0 if ($args{'needs_compiler_c99'})
84 0 0 if (_is_gcc())
86 0 0 if ($gccversion < 5)
92 0 0 if ($args{'cc_warnings'})
97 0 0 if (my $xshelper = $args{'generate_xshelper_h'})
98 0 0 if ($xshelper eq '1')
105 0 0 unless (defined $args{'generate_ppport_h'})
112 0 0 if (my $ppport = $args{'generate_ppport_h'})
113 0 0 if ($ppport eq '1')
127 0 0 if (my $xshelper = $self->xshelper_h_path)
130 0 0 if (open my $fh, '>', $xshelper)
137 0 0 if (my $ppport = $self->ppport_h_path)
148 0 0 if (-e 'MANIFEST.SKIP')
149 0 0 unless open my $fh, '<', 'MANIFEST.SKIP'
153 0 0 if ($ppport and not $content =~ /\Q$ppport\E/)
160 0 0 if ($xshelper and not $content =~ /\Q$xshelper\E/)
170 0 0 if ($self->dist_name ne 'Module-Build-XSUtil' and $self->auto_configure_requires)
173 0 0 unless (exists $p->{'configure_requires'}{'Module::Build::XSUtil'})
199 0 0 if (_is_clang()) { }
0 0 elsif (_is_gcc()) { }
213 0 0 $ver =~ /clang\-[0-9]+/ ? :
218 0 0 unless _is_clang()
234 0 0 if ($self->_is_gcc) { }
0 0 elsif ($self->_is_msvc) { }
238 0 0 if ($gccversion >= 4) { }
240 0 0 unless ($args->{'needs_compiler_c99'} or $args->{'needs_compiler_cpp'})
247 0 0 if ($gccversion >= 4.1 and not $args->{'needs_compiler_cpp'})