Branch Coverage

blib/lib/XS/Install/FrozenShit/ParseXS/Utilities.pm
Criterion Covered Total %
branch 11 50 22.0


line true false branch
133 0 0 unless (@tm_template)
151 0 0 if -e $file
236 0 0 if ($string =~ /^$XS::Install::FrozenShit::ParseXS::Constants::PrototypeRegexp+$/)
269 1 0 ref $tmap ? :
272 0 2 unless -r $typemap
280 0 2 unless -f $typemap_loc
282 0 2 unless -T $typemap_loc
306 0 6 unless $self->{'config_RetainCplusplusHierarchicalTypes'}
311 0 6 if ($varname)
312 0 0 if ($type =~ / \( \s* \* (?= \s* \) ) /gx) { }
546 0 0 if ($statement eq 'if') { }
555 0 0 if $self->{'XS_parse_stack'}[-1]{'type'} ne "if"
557 0 0 if ($self->{'XS_parse_stack'}[-1]{'varname'})
565 0 0 if ($statement ne 'endif') { }
618 2 2 if ($ellipsis) { }
2 0 elsif ($min_args == $num_args) { }
619 2 0 $min_args ? :
734 0 0 if ($hint)
755 0 0 if ($self->{'config_die_on_error'}) { }
788 0 5 if (@cpp)
791 0 0 if ($cpp =~ /^\#\s*if/) { }
0 0 elsif (not $cpplevel) { }
0 0 elsif ($cpp =~ /^\#\s*endif/) { }
797 0 0 if $self->{'XS_parse_stack'}[-1]{'type'} eq "if"
804 0 0 if $cpplevel