Branch Coverage

blib/lib/MarpaX/ESLIF/ECMA404.pm
Criterion Covered Total %
branch 14 42 33.3


line true false branch
28 0 1 if ($options{'unlimited_commas'})
33 0 1 if ($options{'trailing_separator'})
36 0 1 if ($options{'perl_comment'})
40 0 1 if ($options{'cplusplus_comment'})
44 0 1 if ($options{'bignum'})
48 0 1 if ($options{'inf'})
52 0 1 if ($options{'nan'})
56 0 1 if ($options{'cntrl'})
64 0 1 unless &looks_like_number($max_depth)
69 0 1 unless $max_depth =~ /^\+?\d+/
71 0 1 if ($options{'max_depth'})
100 0 354 if ($max_depth) { }
106 0 0 unless $eslifRecognizer->scan
108 0 0 if ($eslifRecognizer->isCanContinue)
110 0 0 unless $eslifRecognizer->resume
118 0 0 unless 'MarpaX::ESLIF::Value'->new($eslifRecognizer, $valueInterface)->value
120 205 149 unless $self->{'grammar'}->parse($recognizerInterface, $valueInterface)
134 0 0 unless $event
135 0 0 if ($event eq 'inc[]') { }
0 0 elsif ($event eq 'dec[]') { }
137 0 0 if ++$self->{'cur_depth'} > $self->{'max_depth'}