Branch Coverage

blib/lib/MarpaX/Languages/ECMAScript/AST/Grammar/ECMAScript_262_5/Program.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
124 0 0 if (@_)
178 0 0 if ($name eq 'Program$') { }
0 0 elsif ($name eq 'NumericLiteral$') { }
0 0 elsif ($name eq 'IDENTIFIER$') { }
0 0 elsif ($name eq '^INVISIBLE_SEMICOLON') { }
0 0 elsif ($name eq '^PLUSPLUS_POSTFIX' or $name eq '^MINUSMINUS_POSTFIX') { }
0 0 elsif ($name eq '^^DIV') { }
0 0 elsif ($name eq '^^DIVASSIGN') { }
189 0 0 if ($$self{'_isIdentifierStart'}{$pos} //= $self->_isIdentifierStart($source, $pos, $impl) or $$self{'_isDecimalDigit'}{$pos} //= $self->_isDecimalDigit($source, $pos, $impl))
197 0 0 unless ($lastLexemeDoneb)
201 0 0 if (exists $ReservedWord{$lastLexeme{'value'}})
218 0 0 unless ($lastLexemeDoneb)
230 0 0 unless ($lastLexemeDoneb)
237 0 0 if ($postLineTerminatorLength > 0)
238 0 0 unless ($impl->lexeme_read('SEMICOLON', $postLineTerminatorPos, $postLineTerminatorLength, ';'))
245 0 0 $lname eq 'PLUSPLUS_POSTFIX' ? :
249 0 0 if ($asi)
250 0 0 $lname eq 'PLUSPLUS_POSTFIX' ? :
252 0 0 unless ($impl->lexeme_read($lname, $rc, 2, $lvalue))
262 0 0 if (index($source, '/', $realpos) == $realpos and index($source, '/=', $realpos) != $realpos and index($source, '//', $realpos) != $realpos and index($source, '/*', $realpos) != $realpos)
266 0 0 unless ($impl->lexeme_read('DIV', $realpos, 1, '/'))
277 0 0 if (index($source, '/=', $realpos) == $realpos and index($source, '//', $realpos) != $realpos and index($source, '/*', $realpos) != $realpos)
280 0 0 unless ($impl->lexeme_read('DIVASSIGN', $realpos, 2, '/='))
318 0 0 if ($_[1] =~ /$isPostLineTerminatorLength/)
320 0 0 if (substr($_[1], $-[0], $length) =~ /$LineTerminator/)
342 0 0 if ($_[1] =~ /$isPreSLength/)
364 0 0 if ($_[1] =~ /$isRcurly/)
385 0 0 if ($_[1] =~ /$isIdentifierStart/)
406 0 0 if ($_[1] =~ /$isDecimalDigit/)
431 0 0 if (not $impl->lexeme_read('SEMICOLON', $pos, $length, ';'))
439 0 0 if (not $impl->lexeme_read('INVISIBLE_SEMICOLON', $pos, $length, ';'))
465 0 0 if (($length = $self->_postLineTerminatorLength($source, $rc, $impl)) > 0) { }
0 0 elsif ($self->_isRcurly($source, $rc, $impl)) { }
480 0 0 if ($$self{'programCompleted'})
491 0 0 if (not $$self{'programCompleted'})
497 0 0 if (not $haveProgramCompletion)