Branch Coverage

blib/lib/MarpaX/Languages/Lua/Parser.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
147 0 21 unless (defined $self->logger)
186 0 25030 unless defined $level
187 0 25030 unless defined $s
189 0 25030 if $self->logger
210 0 1355 if ($name eq 'multiline string')
217 0 0 if $terminator_pos < 0
230 0 1355 if ($name eq 'multiline comment')
241 0 0 if $terminator_pos < 0
250 84 1271 if ($name eq 'singleline comment')
260 0 84 unless defined $new_pos
267 1271 0 if ($name eq 'Name')
276 296 975 if (exists $self->keywords->{$literal}) { }
295 20 1353 if $pos >= $input_length
303 0 20 if (my $ambiguous_status = $self->recce->ambiguous)
332 20 15762 if $node->is_root
340 9248 6514 if ($type eq 'SCALAR')
370 20 0 if ($output_file_name)