Branch Coverage

blib/lib/MarpaX/Languages/Lua/Parser.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
150 0 264 if $sig_warn_flag
152 0 22 unless (defined $self->logger)
192 0 39831 unless defined $level
193 0 39831 unless defined $s
195 0 39831 if $self->logger
216 2 1978 if ($name eq 'multiline string')
223 0 2 if $terminator_pos < 0
236 0 1978 if ($name eq 'multiline comment')
247 0 0 if $terminator_pos < 0
256 94 1884 if ($name eq 'singleline comment')
266 0 94 unless defined $new_pos
273 1884 0 if ($name eq 'Name')
282 484 1400 if (exists $self->keywords->{$literal}) { }
301 21 1978 if $pos >= $input_length
309 0 21 if (my $ambiguous_status = $self->recce->ambiguous)
339 21 24997 if $node->is_root
347 14813 10184 if ($type eq 'SCALAR')
380 21 0 if ($output_file_name)