Branch Coverage

lib/Module/Build/Pluggable/XSUtil.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
42 0 8 if $args->{'get_options'}{'g'}
48 0 8 unless ($self->builder->have_c_compiler)
58 0 8 if ($^O eq 'cygwin')
63 1 7 if ($self->_xs_debugging)
64 0 1 if ($self->_is_msvc) { }
73 0 8 if ($self->{'c++'})
78 0 0 unless ($cbuilder->have_cplusplus)
85 0 8 if ($self->{'c99'})
93 2 6 if (my $xshelper = $self->{'xshelper'})
94 1 1 if ($xshelper eq '1')
102 2 0 unless (defined $self->{'ppport'})
109 4 4 if (my $ppport = $self->{'ppport'})
110 1 3 if ($ppport eq '1')
126 7 1 if ($self->_is_gcc) { }
1 0 elsif ($self->_is_msvc) { }
130 0 7 if ($gccversion >= 4) { }
132 0 0 unless ($self->{'c99'} or $self->{'c++'})
138 0 0 if ($gccversion >= 4.1 and not $self->{'c++'})