Branch Coverage

blib/lib/ExtUtils/Constant.pm
Criterion Covered Total %
branch 42 62 67.7


line true false branch
180 0 6 unless (ref $what)
200 5 1 if ($params->{'IV'}) { }
205 1 5 if ($params->{'NV'}) { }
210 2 4 if ($params->{'PV'}) { }
222 2 4 if ($params->{''})
232 4 2 if ($params->{'IV'} xor $params->{'NV'})
239 2 4 if $params->{''}
240 5 1 if $params->{'IV'}
241 1 5 if $params->{'NV'}
242 2 4 if $params->{'PV'}
243 1 5 if $params->{'SV'}
269 6 54 if $type eq ''
271 40 14 unless $what->{$type}
273 48 6 if (length $ExtUtils::Constant::XS_Constant{$type}) { }
284 40 14 unless ($what->{$type})
317 0 7 if $compat_version < 5
322 0 7 if $autoloader
328 7 0 if $compat_version >= 5.006
337 0 7 if ($autoloader) { }
398 0 0 unless exists $args{$_}
495 0 7 unless length $ARGS{'NAME'}
498 1 6 if $ARGS{'PROXYSUBS'}
501 0 7 unless ($c_fh)
502 0 0 if ($] <= 5.008)
511 0 0 unless open $c_fh, ">$ARGS{'C_FILE'}"
515 0 7 unless ($xs_fh)
516 0 0 if ($] <= 5.008)
520 0 0 unless open $xs_fh, ">$ARGS{'XS_FILE'}"
527 1 6 if ($ARGS{'PROXYSUBS'}) { }
553 0 7 unless $ARGS{'C_FH'}
554 0 7 unless $ARGS{'XS_FH'}