Branch Coverage

blib/lib/ExtUtils/Constant/ProxySubs.pm
Criterion Covered Total %
branch 54 92 58.7


line true false branch
65 2 21 ref $_ ? :
97 1 25 if ($default) { }
111 20 5 unless $item->{'invert_macro'} or not $self->macro_to_ifdef($self->macro_from_item($item))
114 1 25 if ($item->{'pre'} or $item->{'post'} or $item->{'not_constant'} or $ExtUtils::Constant::ProxySubs::type_is_a_problem{$item->{'type'}}) { }
128 0 8 unless defined $extractor
131 0 8 unless defined $generator
136 0 8 if ($push) { }
160 33 13 unless defined $value
163 0 46 if ($name =~ tr/\000-\377// != $namelen)
182 1 0 exists $ARGS->{'XS_SUBNAME'} ? :
185 1 0 unless ref $options
192 0 1 if $explosives
193 0 1 if $croak_on_error
194 0 1 if $autoload
197 0 1 if $exclusive > 1
201 0 1 if $croak_on_error and $^V < v5.13.5
206 0 1 if $push and not $can_do_pcs
209 0 1 if $explosives and $push
235 0 1 if $push
236 0 1 $] < 5.01 ? :
239 0 1 if ($autoload or $croak_on_error)
253 0 1 $push ? :
260 0 1 if (not $can_do_pcs) { }
283 1 0 if ($can_do_pcs) { }
297 0 1 if $push
303 0 1 $explosives ? :
380 0 1 if ($push)
396 0 9 unless defined $struct
399 8 1 $type ? :
405 8 1 $type ? :
421 0 4 if (not $ifdef and $item->{'invert_macro'})
425 21 24 if ($item->{'invert_macro'}) { }
427 1 20 if $type
441 8 1 if $type
464 0 1 $explosives ? :
527 0 1 if $push
543 0 1 if ($item->{'invert_macro'})
544 0 0 if $type
549 0 1 unless defined $generator
560 1 0 if $item->{'pre'}
573 0 1 if $item->{'post'}
579 1 0 if ($] >= 5.009) { }
595 0 1 unless defined $xs_subname
597 0 1 if ($croak_on_error or $autoload) { }
598 0 0 $croak_on_error ? :
643 0 1 $explosives ? :