Branch Coverage

blib/lib/MarpaX/Languages/Lua/Parser.pm
Criterion Covered Total %
branch 25 36 69.4


line true false branch
150 0 264 if $sig_warn_flag
152 0 23 unless (defined $self->logger)
192 0 40018 unless defined $level
193 0 40018 unless defined $s
195 0 40018 if $self->logger
216 2 1987 if ($name eq 'multiline string')
223 0 2 if $terminator_pos < 0
236 4 1983 if ($name eq 'multiline comment')
246 0 4 if $terminator_pos < 0
255 94 1889 if ($name eq 'singleline comment')
265 0 94 unless defined $new_pos
272 1889 0 if ($name eq 'Name')
281 484 1405 if (exists $self->keywords->{$literal}) { }
300 22 1987 if $pos >= $input_length
308 0 22 if (my $ambiguous_status = $self->recce->ambiguous)
338 22 25114 if $node->is_root
346 14882 10232 if ($type eq 'SCALAR')
379 22 0 if ($output_file_name)