Branch Coverage

blib/lib/ExtUtils/Constant/ProxySubs.pm
Criterion Covered Total %
branch 80 100 80.0


line true false branch
155 28 287 ref $_ ? :
187 7 175 if ($default) { }
201 140 35 unless $item->{'invert_macro'} or not $self->macro_to_ifdef($self->macro_from_item($item))
204 7 175 if ($item->{'pre'} or $item->{'post'} or $item->{'not_constant'} or $ExtUtils::Constant::ProxySubs::type_is_a_problem{$item->{'type'}}) { }
218 0 56 unless defined $extractor
221 0 56 unless defined $generator
226 24 32 if ($push) { }
254 231 91 unless defined $value
257 0 322 if ($name =~ tr/\000-\377// != $namelen)
276 7 0 exists $ARGS->{'XS_SUBNAME'} ? :
279 1 6 unless ref $options
286 1 6 if $explosives
287 2 5 if $croak_on_error
288 2 5 if $autoload
291 0 7 if $exclusive > 1
297 0 7 if $explosives and $push
300 1 6 if ($explosives)
309 7 0 if $] > 5.015006
330 3 4 if $push
331 0 7 $] < 5.01 ? :
341 1 6 if ($explosives)
352 4 3 if ($autoload or $croak_on_error)
366 3 4 $push ? :
373 0 7 if (not $can_do_pcs) { }
405 7 0 if ($can_do_pcs) { }
419 3 4 if $push
425 1 6 $explosives ? :
460 6 1 unless $explosives
506 3 4 if ($push)
527 0 63 unless defined $struct
530 56 7 $type ? :
536 56 7 $type ? :
552 0 28 if (not $ifdef and $item->{'invert_macro'})
556 147 168 if ($item->{'invert_macro'}) { }
558 7 140 if $type
565 154 161 if (defined &$type_to_value($value)) { }
579 56 7 if $type
597 6 1 unless $explosives
608 1 6 $explosives ? :
711 3 4 if ($push)
733 0 7 if ($item->{'invert_macro'})
734 0 0 if $type
739 0 7 unless defined $generator
750 7 0 if $item->{'pre'}
763 0 7 if $item->{'post'}
769 7 0 if ($] >= 5.009) { }
785 0 7 unless defined $xs_subname
787 4 3 if ($croak_on_error or $autoload) { }
788 2 2 $croak_on_error ? :
839 1 2 $explosives ? :