Branch Coverage

blib/lib/Parse/GLSL.pm
Criterion Covered Total %
branch 18 34 52.9


line true false branch
72 3 0 unless exists $args{'string_delim'}
99 750 0 unless $$self{'debug'} > 1
107 0 0 $target_pos >= length $text ? :
142 0 11 unless my $decl = $self->parse_declaration
178 0 29 unless my $var = $self->token_ident
179 17 12 if $defining
182 0 29 if $$self{'debug'}
183 0 29 unless $$self{'variables'}{$var}
187 17 12 if ($defining) { }
192 0 17 unless $expr = $self->parse_expression
195 17 12 if (defined $expr) { }
283 0 19 unless my $decl = $self->parse_declaration
299 0 1 unless my $kw = $self->token_control_keyword
300 0 1 if $$self{'debug'}
352 0 51 unless my $func = $self->token_function
353 0 51 if $$self{'debug'}
451 0 0 unless my $code = $self->macro($macro, @_)