Branch Coverage

blib/lib/MarpaX/Languages/ECMAScript/AST/Grammar/ECMAScript_262_5/Program.pm
Criterion Covered Total %
branch 0 60 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)
236 0 0 if ($postLineTerminatorLength > 0)
241 0 0 $lname eq 'PLUSPLUS_POSTFIX' ? :
250 0 0 if (index($source, '/', $realpos) == $realpos and index($source, '/=', $realpos) != $realpos and index($source, '//', $realpos) != $realpos and index($source, '/*', $realpos) != $realpos)
263 0 0 if (index($source, '/=', $realpos) == $realpos and index($source, '//', $realpos) != $realpos and index($source, '/*', $realpos) != $realpos)
302 0 0 if ($_[1] =~ /$isPostLineTerminatorLength/)
304 0 0 if (substr($_[1], $-[0], $length) =~ /$LineTerminator/)
326 0 0 if ($_[1] =~ /$isPreSLength/)
348 0 0 if ($_[1] =~ /$isRcurly/)
369 0 0 if ($_[1] =~ /$isIdentifierStart/)
390 0 0 if ($_[1] =~ /$isDecimalDigit/)
415 0 0 if (not $impl->lexeme_read('SEMICOLON', $pos, $length, ';'))
423 0 0 if (not $impl->lexeme_read('INVISIBLE_SEMICOLON', $pos, $length, ';'))
449 0 0 if (($length = $self->_postLineTerminatorLength($source, $rc, $impl)) > 0) { }
0 0 elsif ($self->_isRcurly($source, $rc, $impl)) { }
464 0 0 if ($$self{'programCompleted'})
475 0 0 if (not $$self{'programCompleted'})
481 0 0 if (not $haveProgramCompletion)