Branch Coverage

blib/lib/ExtUtils/Constant.pm
Criterion Covered Total %
branch 45 68 66.1


line true false branch
98 1 0 if ($] >= 5.006)
99 0 1 unless eval 'use warnings; 1'
200 0 6 unless (ref $what)
220 5 1 if ($params->{'IV'}) { }
225 1 5 if ($params->{'NV'}) { }
230 2 4 if ($params->{'PV'}) { }
242 2 4 if ($params->{''})
252 4 2 if ($params->{'IV'} xor $params->{'NV'})
259 2 4 if $params->{''}
260 5 1 if $params->{'IV'}
261 1 5 if $params->{'NV'}
262 2 4 if $params->{'PV'}
263 1 5 if $params->{'SV'}
270 6 0 if $] > 5.015006
291 6 54 if $type eq ''
293 40 14 unless $what->{$type}
295 48 6 if (length $ExtUtils::Constant::XS_Constant{$type}) { }
306 40 14 unless ($what->{$type})
342 0 11 if $compat_version < 5
347 0 11 if $autoloader
353 11 0 if $compat_version >= 5.006
362 0 11 if ($autoloader) { }
424 0 0 unless exists $args{$_}
528 0 13 unless length $ARGS{'NAME'}
531 7 6 if $ARGS{'PROXYSUBS'}
534 0 13 unless ($c_fh)
535 0 0 if ($] <= 5.008)
544 0 0 unless open $c_fh, '>', $ARGS{'C_FILE'}
548 0 13 unless ($xs_fh)
549 0 0 if ($] <= 5.008)
553 0 0 unless open $xs_fh, '>', $ARGS{'XS_FILE'}
560 7 6 if ($ARGS{'PROXYSUBS'}) { }
588 0 13 unless $ARGS{'C_FH'}
589 0 13 unless $ARGS{'XS_FH'}