RemoveUnusedCode

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,553 of 2,93547%265 of 44640%1822903697301957
traverseObjectPatternComputedProperty(Node, Scope)1370%200%1111323211
traverseObjectPatternStringKey(Node, Scope)1110%200%1111282811
traverseObjectDefinePropertiesCall(Node, Scope)830%100%66181811
traverseClassDeclaration(Node, Scope)800%40%33191911
traverseDefaultValue(Node, Scope)760%60%44202011
traverseEnhancedFor(Node, Scope)730%80%55202011
traverseCall(Node, Scope)705443%131350%914112701
traverseVanillaForNameDeclarations(Node, Scope)690%80%55161611
traverseAssign(Node, Scope)6818072%71770%513155901
traverseObjectDefinePropertiesLiteral(Node, Scope)580%80%55161611
traverseNode(Node, Scope)5415273%152562%1431176201
traverseArrayPattern(Node, Scope)530%80%55101011
traverseClassMembers(Node, Scope)520%80%55111111
maybeRemoveUnusedTrailingParameters(Node, Scope)520%140%88181811
traverseIncrementOrDecrementOp(Node, Scope)516154%61062%49112601
traverseGetProp(Node, Scope)504949%5550%36112401
traverseVar(Var)481321%10216%67121501
traversePrototypeLiteral(Node, Scope)480%80%55121211
markUnusedParameters(Node, Scope)460%120%77141411
traverseClassExpression(Node, Scope)440%20%22111111
traverseRest(Node, Scope)430%60%449911
removeUnreferencedFunctionArgs(Scope)23414%3125%2381001
traverseObjectPattern(Node, Scope)220%40%337711
canRemoveParameters(Node)170%40%333311
traverseClass(Node, Scope)160%20%225511
isIndependentlyRemovable(RemoveUnusedCode.Removable)141450%12425%890401
removeUnreferencedVars()116585%91155%61112101
isDotPrototypeDotProperty(Node)110%40%331111
getVarInfo(Var)106787%61470%61131901
traverseObjectLiteral(Node, Scope)101864%2250%232701
removeIndependentlyRemovableProperties()9950%1150%122401
considerForIndependentRemoval(RemoveUnusedCode.Removable)73282%2675%2511201
markPropertyNameReferenced(String)71568%1375%132501
isObjectDefinePropertiesSecondArgument(Node)6857%3125%230201
traverseDeclarationStatement(Node, Scope)55391%1583%1411501
traverseVanillaFor(Node, Scope)53888%1150%1211201
traverseNonPrototypeObjectLiteral(Node, Scope)42385%1375%131801
traverseFunction(Node, Scope)6697%3562%3501401
isNameDotPrototype(Node)1588%1583%140301
isDotPrototype(Node)1184%1375%130101
isAssignmentToPrototype(Node)981%1375%130101
removeExpressionCompletely(Node)4397%1787%1501201
isThisDotProperty(Node)1090%2250%230101
RemoveUnusedCode(RemoveUnusedCode.Builder)86100%n/a0102101
traverseAndRemoveUnusedReferences(Node)60100%1583%1401401
traverseCompoundAssign(Node, Scope)46100%6100%0401301
traverseInstanceof(Node, Scope)39100%2100%0201101
traverseRemovableAssignValue(Node, RemoveUnusedCode.RemovableBuilder, Scope)22100%4100%030501
process(Node, Node)19100%1150%120501
traverseCatch(Node, Scope)19100%n/a010601
isLocalDefaultValueAssignment(Node, Node)19100%8100%050401
alreadyRemoved(Node)15100%4100%030601
traverseChildren(Node, Scope)14100%2100%020301
replaceNodeWith(Node, Node)12100%n/a010401
getVarForNameNode(Node, Scope)8100%n/a010101
traverseNameNode(Node, Scope)7100%n/a010101
static {...}7100%n/a010201