Compiler

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,329 of 5,48939%444 of 63830%4085567771,333117230
restoreState(InputStream)2400%100%66535311
ensureLibraryInjected(String, boolean)2110%280%1616404011
parseInputs()20717846%432334%3034387601
getCurrentJsSource()1730%260%1414333311
buildKnownSymbolTable()910%60%44262611
replaceIncrementalSourceAst(JsAst)810%60%44202011
reconcileOptionsWithGuards()797348%201237%1617143201
parsePotentialModules(List)690%120%77151511
depthFirstDependenciesFromInput(CompilerInput, boolean, Set, Map, Map, boolean, boolean)625948%15316%910152701
addNewSourceAst(JsAst)610%80%55131311
processJsonInputs(List)610%60%44161611
toSource(Node, SourceMap, boolean)600%140%889911
getSourceMapping(String, int, int)521218%8220%56182201
compileModules(List, List, CompilerOptions)460%120%77151511
resetCompilerInput()410%60%449911
findDependenciesFromEntryPoints(boolean, boolean)399871%10844%71092801
processNewScript(JsAst, Node)380%n/a119911
renameModules(List, List)380%60%44101011
getNodeForCodeInsertion(JSModule)370%60%448811
getTypeIRegistry()350%60%555511
afterPass(String)34512%3125%2381001
transpileAndDontCheck()340%40%338811
whitespaceOnlyPasses()330%20%227711
removeExternInput(InputId)330%40%33101011
processAMDModules()300%40%338811
maybeSetTracker()29617%3125%234601
printConfig(PrintStream)290%n/a119911
clearTypeIRegistry()280%40%447711
getReverseAbstractInterpreter()280%40%338811
instrumentForCoverage()270%60%445511
addNewScript(JsAst)270%20%229911
getParserConfigLanguageMode(CompilerOptions.LanguageMode)26721%7112%7881001
runCustomPasses(CustomPassExecutionTime)26516%3125%235701
endPass(String)260%20%227711
runHotSwapPass(Node, Node, PassFactory)260%40%336611
orderInputs()255669%2675%2562101
checkFirstModule(List)251130%4233%343601
computeCFG()240%n/a116611
recordFunctionInformation()240%n/a117711
initOptions(CompilerOptions)235470%5550%5662301
newExternInput(String, Compiler.SyntheticExternsPosition)234063%2250%2331101
hoistIfExtern(CompilerInput)231336%4233%3461101
instrumentForCoverageInternal(boolean)230%20%227711
addIndexProvider(IndexProvider)230%20%225511
throwInternalError(String, Throwable)230%20%225511
getAstDotGraph()230%20%225511
initInputsByIdMap()224868%2675%2521401
initModules(List, List, CompilerOptions)204267%n/a0141701
initBasedOnOptions()201135%3125%234701
parse(SourceFile)200%n/a113311
parseSyntheticCode(String)200%n/a111111
startPass(String)190%20%225511
getTypeMismatches()190%30%334411
getImplicitInterfaceUses()190%30%334411
replaceScript(JsAst)190%20%226611
addFilesToSourceMap(Iterable)18521%5116%343501
runHotSwap(Node, Node, PassConfig)180%20%224411
getSourceRegion(String, int)170%40%336611
addComments(String, List)160%20%224411
setPassConfig(PassConfig)150%20%224411
getTypeRegistry()150%20%223311
parseCodeHelper(SourceFile)150%n/a113311
getComments(String)150%20%223311
getChangeScopeForNode(Node)141348%1375%131601
getGlobalTypeInfo()140%20%223311
parseSyntheticCode(String, String)140%n/a114411
saveState(OutputStream)140%n/a113311
getIndex(Class)130%20%224411
getSourceFileContentByName(String)130%n/a115511
hoistNoCompileFiles()122870%5550%4641301
getTypeValidator()120%20%223311
getSynthesizedExternsInputAtEnd()120%20%223311
ensureDefaultPassConfig()110%n/a113311
toSource(Compiler.CodeBuilder, int, Node)110%n/a112211
getDeletedScopeNodesForPass(String)110%n/a113311
performChecksAndTranspilation()10741%3125%233601
runValidityCheck()100%n/a112211
parseTestCode(String)100%n/a113311
createFillFileName(String)90%n/a111111
toSource(JSModule)90%n/a111111
toSourceArray(JSModule)90%n/a111111
getNumberOfInputs()90%20%221111
removeSyntheticVarsInput()90%n/a113311
newTracer(String)82676%3350%241501
getSourceFileByName(String)81666%2250%232601
stopTracer(Tracer, String)8952%3125%231401
maybeRunValidityCheck()80%20%223311
orderInputsWithLargeStack()80%n/a112211
toSource()80%n/a111111
toSource(Node)80%n/a112211
toSourceArray()80%n/a111111
getResult()75187%2466%241701
init(List, List, CompilerOptions)74386%1375%1311101
compile(List, List, CompilerOptions)73984%4866%4721501
createPhaseOptimizer()71872%2250%232601
performPostCompilationTasksInternal()71770%3350%343801
fillEmptyModules(List)71669%1375%132601
breakThisCompilerSoItsModulesCanBeReused()70%n/a113311
process(CompilerPass)70%n/a112211
addInputSourceMap(String, SourceMapInput)70%n/a112211
getReleaseVersion()70%n/a112211
getReleaseDate()70%n/a112211
getParserConfig(AbstractCompiler.ConfigContext)65490%4866%4701501
report(JSError)63083%2675%2511101
Compiler(ErrorManager)60%n/a113311
getCleanupPassConfig()60%n/a111111
getModuleTypeByName(String)60%n/a111111
hoistExterns()53487%4866%4731101
getErrorManager()5654%1150%121301
Compiler()50%n/a112211
setTimeout(int)50%n/a112211
setCssRenamingMap(CssRenamingMap)50%n/a112211
getSourceLine(String, int)41376%2250%232601
areNodesEqualForInlining(Node, Node)41275%2250%231301
setProgress(double, String)41173%1150%121501
initCompilerOptionsIfTesting()4450%1150%121301
joinPathParts(String[])40%n/a111111
parse()40%n/a112211
setExternExports(String)40%n/a112211
resetUniqueNameId()40%n/a112211
setMostRecentTypechecker(AbstractCompiler.MostRecentTypechecker)40%n/a112211
getTypedScopeCreator()40%n/a111111
putScopeCreator(IncrementalScopeCreator)40%n/a112211
getTopScope()40%n/a111111
newCompilerOptions()40%n/a111111
setPhaseOptimizer(PhaseOptimizer)40%n/a112211
report(CheckLevel, JSError)40%n/a112211
getWarningCount()40%n/a111111
setPropertyMap(VariableMap)40%n/a112211
setStringMap(VariableMap)40%n/a112211
setFunctionNames(FunctionNames)40%n/a112211
setIdGeneratorMap(String)40%n/a112211
setAnonymousFunctionNameMap(VariableMap)40%n/a112211
setLoggingLevel(Level)40%n/a112211
getInputsById()40%n/a111111
setHasRegExpGlobalReferences(boolean)40%n/a112211
setDefaultDefineValues(ImmutableMap)40%n/a112211
initWebpackMap(ImmutableMap)40%n/a112211
stage1Passes()3291%4450%450601
stage2Passes()3291%4450%450601
getScriptNode(String)3090%3562%352801
getModuleGraph()1076%2250%231301
getErrors()770%1150%121301
getWarnings()770%1150%121301
getRoot()0%n/a111111
getModules()0%n/a111111
getMostRecentTypechecker()0%n/a111111
getScopeCreator()0%n/a111111
getExternsRoot()0%n/a111111
getSourceMap()0%n/a111111
getVariableMap()0%n/a111111
getPropertyMap()0%n/a111111
getCssNames()0%n/a111111
getCrossModuleIdGenerator()0%n/a111111
getFunctionNames()0%n/a111111
getStringMap()0%n/a111111
getFunctionalInformationMap()0%n/a111111
getInputsForTesting()0%n/a111111
getExternsForTesting()0%n/a111111
getLastPassName()0%n/a111111
getCompilerExecutor()0%n/a111111
createConfig(Config.LanguageMode, Config.StrictMode)2090%1150%120501
runInCompilerThread(Callable)1487%2250%230201
getCodingConvention()1184%1150%120301
hasScopeChanged(Node)880%1150%121301
performOptimizations()3096%1150%121901
updateGlobalVarReferences(Map, Node)2796%3350%340601
reportChangeToChangeScope(Node)1593%1375%130401
Compiler(PrintStream)185100%n/a0105101
static {...}47100%n/a0101901
check()38100%2100%0201001
getAllInputsFromModules(List)36100%4100%030801
makeExternInputs(List)27100%2100%020501
initAST()26100%n/a010401
initWarningsGuard(WarningsGuard)22100%n/a010301
recordChange(Node)19100%2100%020601
parseForCompilationInternal()17100%n/a010601
reportFunctionDeleted(Node)15100%n/a010501
notifyChangeHandlers()15100%2100%020401
generateReport()12100%n/a010401
getSynthesizedExternsInput()12100%2100%020301
setErrorManager(ErrorManager)11100%n/a010301
createMessageFormatter()11100%n/a010201
getChangedScopeNodesForPass(String)11100%n/a010301
hasHaltingErrors()11100%1375%130101
getPassConfig()10100%2100%020301
getInput(InputId)10100%2100%020301
putCompilerInput(InputId, CompilerInput)10100%n/a010201
prepareAst(Node)10100%n/a010301
getErrorLevel(JSError)9100%n/a010201
rebuildInputsFromModules()8100%n/a010301
compile(SourceFile, SourceFile, CompilerOptions)8100%n/a010101
performPostCompilationTasks()8100%n/a010201
parseForCompilation()8100%n/a010201
nextUniqueNameId()8100%n/a010101
reportChangeToEnclosingScope(Node)8100%n/a010301
incrementChangeStamp()7100%n/a010201
createPassConfigInternal()6100%n/a010101
forwardDeclareType(String)6100%n/a010201
repartitionInputs()6100%n/a010301
addChangeHandler(CodeChangeHandler)6100%n/a010201
removeChangeHandler(CodeChangeHandler)6100%n/a010201
addExportedNames(Set)6100%n/a010201
getUniqueNameIdSupplier()5100%n/a010101
disableThreads()4100%n/a010201
setFeatureSet(FeatureSet)4100%n/a010201
getCssRenamingMap()4100%n/a010101
getDiagnosticGroups()4100%n/a010101
getErrorCount()4100%n/a010101
setVariableMap(VariableMap)4100%n/a010201
setCssNames(Map)4100%n/a010201
getInputsInOrder()4100%n/a010101
getExternsInOrder()4100%n/a010101
setExternProperties(Set)4100%n/a010201
createCompilerExecutor()4100%n/a010101
getFeatureSet()100%n/a010101
getDegenerateModuleGraph()100%n/a010101
getDefaultErrorReporter()100%n/a010101
getJsRoot()100%n/a010101
getChangeStamp()100%n/a010101
hasErrors()100%n/a010101
getExportedNames()100%n/a010101
getOptions()100%n/a010101
hasRegExpGlobalReferences()100%n/a010101
getGlobalVarReferences()100%n/a010101
getProgress()100%n/a010101
getExternProperties()100%n/a010101
getDefaultDefineValues()100%n/a010101
getModuleLoader()100%n/a010101
beforePass(String)100%n/a010101