Parser

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,862 of 7,61462%417 of 97257%3317716941,85463263
parseExportDeclaration(boolean)1740%310%2121555511
parseAsyncMethod(Parser.PartialClassElement)1460%100%66414111
parseImportDeclaration()1210%140%88323211
parseClass(boolean, boolean)970%140%88252511
parseForStatement()918548%191747%1219193601
parseSetAccessor(Parser.PartialClassElement)910%40%33212111
parseClassMemberDeclaration(Parser.PartialClassElement)899852%171546%1017194601
parseInterfaceDeclaration()710%60%44191911
parseGetAccessor(Parser.PartialClassElement)700%20%22161611
parseAsyncArrowFunction(Parser.Expression)690%60%44202011
parseCoverParenthesizedExpressionAndArrowParameterList()526756%5758%47122601
parseComprehension(ComprehensionTree.ComprehensionType, TokenType, TokenType)510%60%44121211
peekAmbientDeclaration()46611%1915%10117901
parseYield(Parser.Expression)460%80%55121211
parseTypeQuery()451018%7112%45121501
peekAmbientNamespaceElement()440%200%1111101011
parseComprehensionFor()420%20%22111111
parseEnumMembers()390%40%33101011
parseNamespaceDeclaration(boolean)390%40%339911
parseImportSpecifier()370%40%33101011
isStartOfAsyncArrowFunction(ParseTree)364354%16833%91341701
parseAsyncFunctionDeclaration()360%20%22111111
parseAsyncFunctionExpression()360%20%22111111
parseAmbientDeclarationHelper()330%50%55131311
parseAwaitExpression()320%40%337711
parseCaseClauses()304358%3240%2471901
parseImportSpecifierSet()300%40%338811
parseExportSpecifierSet()300%40%338811
parseEnumDeclaration()300%n/a117711
parseClassElement(boolean)300%40%337711
parseAmbientFunctionDeclaration(SourcePosition, IdentifierToken, boolean)300%n/a119911
parseWithStatement()300%n/a117711
peekFunctionTypeExpression()281026%6225%4581001
parseExportSpecifier()280%20%228811
parseTypeAlias()280%n/a117711
parseAmbientVariableDeclarationList()270%40%336611
parseComprehensionIf()260%n/a117711
parseClassElement(Parser.PartialClassElement)250%60%447711
parseAmbientFunctionDeclaration()250%20%225511
parsePropertyAssignment()239780%51979%51363101
parseScriptElement()232451%7750%7871501
parseParameter(Parser.ParamContext)229681%51777%51242901
checkVanillaForInitializers(VariableDeclarationListTree)220%40%335511
parseNewDotSomething()220%n/a115511
parseVariableDeclarationList(Parser.Expression)213965%2250%2341401
parseFunctionTypeExpression()211338%1150%1261101
peekImplicitSemiColon(int)193363%31178%282801
parseNamespaceElements()190%40%334411
parsePatternRest(Parser.PatternKind)190%n/a114411
peekIndexSignature()180%60%442211
parseFinallyBlock()180%n/a114411
parseAmbientDeclaration()180%n/a114411
parseRestParameter()170%n/a114411
createLookaheadParser()170%n/a114411
peekTypeAlias()16627%7112%450201
parseAmbientNamespaceElement()160%40%335511
parseNamespaceName()160%n/a113311
parseDebuggerStatement()160%n/a114411
parseClassElements(boolean)150%20%224411
peekClassElement()150%20%224411
parseRestAssignmentTarget(Parser.PatternKind)150%20%224411
parseTemplateLiteral(ParseTree)148886%3975%3732101
parseAssignment(Parser.Expression)145880%4866%3731701
parseTypeArgumentList(SourcePosition, TypeNameTree)143772%3125%2341301
parseAmbientNamespaceElements()140%20%224411
parseSuperExpression()140%n/a113311
parseLeftHandSideExpression()138086%11090%1812101
maybeParseAccessibilityModifier()130%40%333311
parseArrayPattern(Parser.PatternKind)126784%1990%1621501
parseObjectPattern(Parser.PatternKind)124478%1583%1421201
parseMethodSignature(Parser.PartialClassElement, IdentifierToken, boolean, boolean)120%n/a111111
resetScannerAfter(ParseTree)120%n/a113311
maybeParseGenericTypes()115683%3562%3531801
peekNamespaceDeclaration()111047%6225%450201
peekAsyncMethod()10637%5116%341301
peekAsyncFunctionStart()10637%5116%340101
parseMemberExpressionNoNew()97088%2880%2722201
maybeReportTrailingComma(Token)91359%1375%131501
eatAsyncFunctionStart()90%n/a113311
inGeneratorContext()90%20%221111
parseVariableDeclaration(TokenType, Parser.Expression)84384%3562%3521301
parseProgram()82877%n/a0131001
parseInitializer(Parser.Expression)80%n/a112211
parseIfStatement()73784%1150%1221101
parseSourceElement()72275%2675%252901
parseInterfaceElement()68993%11995%11122201
parseFormalParameterList(Parser.ParamContext)65590%1787%1511501
parseStatementStandard()65490%21688%21721901
parseArguments()65389%1787%1511401
parsePrimaryExpression()63485%2981%21121201
parseThrowStatement()62580%1150%121801
completeAssignmentExpressionParseAtArrow(CallExpressionTree)62480%1150%122801
eatPredefinedString(String)61368%2250%232501
maybeReportNoInitializer(TokenType, ParseTree)61266%1375%131501
peekGetAccessor()6650%3125%230101
peekSetAccessor()6650%3125%230101
parseGeneratorComprehension()60%n/a111111
parseArrayComprehension()60%n/a111111
parseCatch()53587%1150%1211001
reportError(ParseTree, String, Object[])51168%1150%121401
reportError(Token, String, Object[])51066%1150%121401
parseClassDeclaration(boolean)50%n/a111111
parseClassExpression()50%n/a111111
parseAsyncMethod()50%n/a111111
parseGetAccessor()50%n/a111111
parseSetAccessor()50%n/a111111
parseFunctionDeclaration()43288%2250%230701
parseFunctionExpression()43288%2250%230801
getComments()40%n/a111111
parseVariableDeclarationListNoIn()40%n/a111111
parseTryStatement()34493%2675%2511201
parseNewExpression()34093%1583%1411101
parseUnaryExpression()32790%1375%131801
parseContinueStatement()32288%1150%121701
parseBreakStatement()32288%1150%121701
peekId(int)32086%3350%240401
eatId()31684%1375%131601
parseArrayInitializer()3872%1150%121301
Parser(Parser.Config, ErrorReporter, SourceFile, int, boolean)24595%1150%1201001
peekParameter(Parser.ParamContext)22492%2880%261501
peekVariableDeclarationList()2880%1150%121301
parseObjectPatternField(Parser.PatternKind)115100%11191%1702401
parseArrayLiteral()85100%12100%0701801
parsePropertyNameAssignment()84100%11191%1701701
parseType()71100%1787%1501401
parseForStatement(SourcePosition, ParseTree)68100%6100%0401301
parseObjectLiteral()56100%2880%2601601
parse(Parser.Expression)53100%1787%1501001
parsePropertyAssignmentGenerator()52100%1787%1501201
parseIndexSignature()49100%n/a0101001
parseExponentiationExpression()43100%4100%0301001
parseDoWhileStatement()42100%2100%0201001
parseUpdateExpression()40100%6100%0401001
transformToArrowFormalParameters(ParseTree)39100%4100%0401201
parseConditional(Parser.Expression)39100%2100%0201001
parseSwitchStatement()38100%n/a010901
parseMethodSignature(SourcePosition, IdentifierToken, boolean, boolean, boolean, TokenType)36100%n/a0101201
completeArrowFunctionParseAtArrow(ParseTree, Parser.Expression)36100%2100%0201001
buildIdentifierPath(IdentifierToken)34100%6100%040901
parsePatternAssignmentTargetNoDefault(Parser.PatternKind)33100%8100%050801
parseArrayTypeExpression()32100%4100%030701
parseLogicalOR(Parser.Expression)32100%2100%020801
parseLogicalAND(Parser.Expression)32100%2100%020801
parseBitwiseOR(Parser.Expression)32100%2100%020801
parseBitwiseXOR(Parser.Expression)32100%2100%020801
parseBitwiseAND(Parser.Expression)32100%2100%020801
parseFunctionTail(FunctionDeclarationTree.Builder, Parser.FunctionFlavor)31100%2100%020901
parseCallSignature(boolean)30100%2100%020701
parseRecordTypeExpression()30100%2100%020701
parseWhileStatement()30100%n/a010701
parseEquality(Parser.Expression)30100%2100%020801
eatIdOrKeywordAsId()30100%4100%030801
parseRelational(Parser.Expression)29100%2100%020801
parsePatternAssignmentTarget(Parser.PatternKind)29100%2100%020801
parseInterfaceElements()28100%6100%040801
parseShiftExpression()28100%2100%020801
parseAdditiveExpression()28100%2100%020801
parseMultiplicativeExpression()28100%2100%020801
eatPossibleImplicitSemiColon()27100%6100%040701
parseReturnStatement()25100%2100%020701
parseForOfStatement(SourcePosition, ParseTree)24100%n/a010601
parseForInStatement(SourcePosition, ParseTree)24100%n/a010501
peekCallSuffix()24100%10100%060501
parseFunctionBody()22100%n/a010501
parseBlock()22100%n/a010501
parseArrowFunctionBody(Parser.Expression, Parser.FunctionFlavor)22100%2100%020601
parseParenTypeExpression()21100%2100%020601
parseLabelledStatement()20100%n/a010401
peekMemberExpressionSuffix()20100%8100%050301
parseSpreadExpression()18100%n/a010401
parseMissingPrimaryExpression()18100%n/a010401
parseTypeReference()17100%2100%020501
peekPredefinedString(int, String)17100%4100%030201
peekRelationalOperator(Parser.Expression)17100%5100%040401
parseTypeName()16100%n/a010301
parseVariableStatement()16100%n/a010401
parseExpressionStatement()16100%n/a010401
parseGlobalSourceElements()15100%2100%020401
peekInterfaceElement()15100%2100%020401
eatObjectLiteralPropertyName()15100%2100%020401
eat(TokenType)15100%2100%020501
parseSourceElementList()14100%2100%020401
parseStatementList()14100%2100%020401
parseEmptyStatement()14100%n/a010301
parseThisExpression()14100%n/a010301
parseIdentifierExpression()14100%n/a010301
parseLiteralExpression()14100%n/a010301
parseRegularExpressionLiteral()14100%n/a010301
peekPropertyName(int)14100%2100%020401
completeAssignmentExpressionParseAtArrow(ParseTree, Parser.Expression)14100%2100%020301
transformLeftHandSideExpression(ParseTree)14100%2100%020401
parsePattern(Parser.PatternKind)14100%2100%020301
peekSourceElement()13100%6100%040101
peekPropertyNameOrComputedProp(int)13100%4100%030201
parseComputedPropertyName()13100%n/a010401
peekIdOrKeyword()13100%4100%030201
peekLabelledStatement()12100%4100%030201
resetScanner(ParseTree)12100%n/a010301
peekPatternStart()12100%4100%030101
peekDeclaration()11100%1375%130101
maybeParseColonType()11100%2100%020401
peekAssignmentOrSpread()11100%4100%030101
reportExpectedError(Token, Object)11100%n/a010201
nextToken()11100%n/a010301
nextRegularExpressionLiteralToken()11100%n/a010301
nextTemplateLiteralToken()11100%n/a010301
peekStatementStandard()10100%2100%020301
peekExpression()10100%2100%020301
peekAssignmentOperator()10100%2100%020301
peekEqualityOperator()10100%2100%020301
peekShiftOperator()10100%2100%020301
peekAdditiveOperator()10100%2100%020301
peekMultiplicativeOperator()10100%2100%020301
peekUnaryOperator()10100%2100%020301
peekUpdateOperator()10100%2100%020301
parseAssignmentOrSpread()10100%2100%020301
eatOpt(TokenType)10100%2100%020301
peek(int, TokenType)9100%2100%020101
reportError(String, Object[])9100%n/a010201
Parser(Parser.Config, ErrorReporter, SourceFile, int)8100%n/a010201
peekAccessibilityModifier()8100%n/a010201
eatIdOpt()8100%2100%020101
Parser(Parser.Config, ErrorReporter, SourceFile)7100%n/a010201
parseTypeAnnotation()7100%n/a010201
getTreeLocation(SourcePosition)7100%n/a010101
getClassElementDefaults()6100%n/a010101
newEmptyFormalParameterList(SourceRange)6100%n/a010101
getNextLine()6100%n/a010101
parseClassMemberDeclaration()5100%n/a010101
peekFunction(int)5100%n/a010101
peekPredefinedString(String)5100%n/a010101
getTreeStartLocation()5100%n/a010101
peek(TokenType)5100%n/a010101
peekType(int)5100%n/a010101
peekToken(int)5100%n/a010101
peekImportDeclaration()4100%n/a010101
peekExportDeclaration()4100%n/a010101
peekClassDeclaration()4100%n/a010101
peekInterfaceDeclaration()4100%n/a010101
peekEnumDeclaration()4100%n/a010101
peekFunction()4100%n/a010101
parseVariableDeclarationList()4100%n/a010101
parseExpressionNoIn()4100%n/a010101
parseExpression()4100%n/a010101
parseAssignmentExpression()4100%n/a010101
parseLeftHandSidePattern()4100%n/a010101
peekAwaitExpression()4100%n/a010101
peekObjectPatternField()4100%n/a010101
peekImplicitSemiColon()4100%n/a010101
getLastLine()4100%n/a010101
inStrictContext()4100%n/a010101
peekId()4100%n/a010101
peekType()4100%n/a010101
peekToken()4100%n/a010101
getFeatures()3100%n/a010101
getSourceMapURL()3100%n/a010101
parseStatement()3100%n/a010101
peekStatement()3100%n/a010101
parseCaseStatementsOpt()3100%n/a010101
nextLiteralToken()3100%n/a010101
peekAssignmentExpression()3100%n/a010101
peekArrayPatternElement()3100%n/a010101
getTreeEndLocation()3100%n/a010101