Branch Coverage

blib/lib/ExtUtils/ParseXS/Utilities.pm
Criterion Covered Total %
branch 36 38 94.7


line true false branch
213 12 3 if ($string =~ /^$ExtUtils::ParseXS::Constants::PrototypeRegexp+$/)
251 322 1 ref $tmap ? :
253 2 5 unless -r $typemap
260 5071 642 unless -f $typemap_loc
262 0 642 unless -T $typemap_loc
286 638 2 unless $self->{'config_RetainCplusplusHierarchicalTypes'}
291 6 634 if ($varname)
292 2 4 if ($type =~ / \( \s* \* (?= \s* \) ) /gx) { }
332 11 343 if ($ellipsis) { }
328 15 elsif ($min_args == $num_args) { }
333 9 2 $min_args ? :
370 278 1 @{$self->{'line_no'};} ? :
452 3 131 if ($hint)
473 33 0 if ($self->{'config_die_on_error'}) { }
506 5 364 if (@cpp)
509 4 9 if ($cpp =~ /^\#\s*if/) { }
2 7 elsif (not $cpplevel) { }
3 4 elsif ($cpp =~ /^\#\s*endif/) { }
520 1 2 if $cpplevel