FunctionToBlockMutator

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total120 of 68782%28 of 9470%256428176217
rewriteFunctionDeclarations(Node)473139%7541%57132101
aliasAndInlineArguments(Node, ImmutableMap, Set)4610168%101254%712133501
getUniqueThisName()120%n/a111111
mutateWithoutRenaming(String, Node, Node, String, boolean, boolean)100%n/a111111
mutateInternal(String, Node, Node, String, boolean, boolean, boolean)39396%6857%6802401
getLabelNameForFunction(String)22191%1150%120201
replaceReturns(Node, String, String, boolean)67100%11191%1702001
replaceReturnWithBreak(Node, Node, String, String)60100%1990%1601701
fixUninitializedVarDeclarations(Node, Node)43100%21083%2701201
makeLocalNamesUnique(Node, boolean)41100%n/a010701
getReplacementReturnStatement(Node, String)32100%8100%0501201
convertLastReturnToStatement(Node, String)25100%2100%020801
addDummyAssignment(Node, String)20100%n/a010701
mutate(String, Node, Node, String, boolean, boolean)10100%n/a010101
createAssignStatementNode(String, Node)10100%n/a010301
FunctionToBlockMutator(AbstractCompiler, Supplier)9100%n/a010401
hasReturnAtExit(Node)4100%n/a010101