ClosureRewriteModule

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,516 of 2,97615%412 of 4549%2552875797054159
updateGoogRequire(NodeTraversal, Node)2780%440%2323636311
maybeRecordExportDeclaration(NodeTraversal, Node)14953%2713%1415333501
maybeUpdateTopLevelName(NodeTraversal, Node)14485%2913%1516293201
recordGoogModuleGet(NodeTraversal, Node)1400%300%1616323211
safeSetMaybeQualifiedString(Node, String)1360%160%1010373711
reportUnrecognizedRequires()111119%2913%1516202301
recordGoogRequire(NodeTraversal, Node, boolean)1070%280%1515202011
maybeUpdateExportDeclaration(NodeTraversal, Node)9654%1118%67262801
preprocessExportDeclaration(Node)870%140%88191911
recordGoogProvide(NodeTraversal, Node)840%80%55181811
recordGoogModule(NodeTraversal, Node)830%60%44161611
recordExportsPropertyAssignment(NodeTraversal, Node)720%140%88161611
updateGoogModule(Node)670%100%66151511
hotSwapScript(Node, Node)640%20%22131311
maybeWarnForInvalidDestructuring(NodeTraversal, Node, String)600%80%55141411
exportTheEmptyBinaryNamespaceAt(Node, ClosureRewriteModule.AddAt)580%60%44151511
updateExportsPropertyAssignment(Node)550%100%66131311
maybeUpdateExportObjectLiteral(NodeTraversal, Node)550%120%77141411
maybeUpdateExportNameRef(Node)5358%1317%78101201
updateEndModule()530%60%448811
maybeUpdateExportDeclToNode(NodeTraversal, Node, Node)490%120%77151511
recordExportToInline(ClosureRewriteModule.ExportDefinition)490%20%22101011
checkAndSetStrictModeDirective(NodeTraversal, Node)410%60%44101011
replaceStringNodeLocationForExportedTopLevelVariable(Node, int, int)380%120%77101011
maybeAddAliasToSymbolTable(Node, String)380%40%339911
isNamedExportsLiteral(Node)360%140%888811
updateGoogModuleGetCall(Node)310%20%229911
safeSetString(Node, String)280%60%44101011
maybeSplitMultiVar(Node)270%40%338811
updateModuleBody(Node)250%40%337711
recordGoogForwardDeclare(NodeTraversal, Node)240%40%337711
recordNameToInline(String, String)210%20%225511
rewriteJsdoc(JSDocInfo)180%20%224411
recordModuleBody(Node)150%n/a114411
markConstAndCopyJsDoc(Node, Node)150%n/a115511
toModuleContentsPrefix(String)140%n/a111111
markConst(Node)130%n/a114411
isRelativePath(String)120%40%331111
createNamespaceNode(Node)120%n/a113311
updateModuleBodyEarly(Node)100%n/a113311
pushScript(ClosureRewriteModule.ScriptDescription)91359%1150%122601
maybeAddToSymbolTable(Node)80%20%223311
recordGoogDeclareLegacyNamespace()50%n/a112211
updateGoogDeclareLegacyNamespace(Node)50%n/a112211
updateGoogForwardDeclare(NodeTraversal, Node)50%n/a112211
isModuleExport(String)40%n/a111111
isModuleContent(String)40%n/a111111
processAllFiles(Deque, Node)9097%2675%2521901
ClosureRewriteModule(AbstractCompiler, PreprocessorSymbolTable, ClosureRewriteModule.GlobalRewriteState)4595%1150%1201101
isExportPropertyAssignment(Node)1990%1787%150401
isCallTo(Node, Node)1789%1583%140401
static {...}125100%n/a0105001
isTopLevel(NodeTraversal, Node, ClosureRewriteModule.ScopeType)23100%6100%040301
recordTopLevelVarNames(Node)22100%2100%020501
recordTopLevelClassOrFunctionName(Node)20100%2250%230501
isAssignTarget(Node)14100%4100%030201
isTypedefTarget(Node)14100%1375%130201
process(Node, Node)13100%n/a010401
popScript()11100%n/a010301