rewriteFunctionDeclarations(Node) | | 39% | | 41% | 5 | 7 | 13 | 21 | 0 | 1 |
aliasAndInlineArguments(Node, ImmutableMap, Set) | | 68% | | 54% | 7 | 12 | 13 | 35 | 0 | 1 |
getUniqueThisName() | | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |
mutateWithoutRenaming(String, Node, Node, String, boolean, boolean) | | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |
mutateInternal(String, Node, Node, String, boolean, boolean, boolean) | | 96% | | 57% | 6 | 8 | 0 | 24 | 0 | 1 |
getLabelNameForFunction(String) | | 91% | | 50% | 1 | 2 | 0 | 2 | 0 | 1 |
replaceReturns(Node, String, String, boolean) | | 100% | | 91% | 1 | 7 | 0 | 20 | 0 | 1 |
replaceReturnWithBreak(Node, Node, String, String) | | 100% | | 90% | 1 | 6 | 0 | 17 | 0 | 1 |
fixUninitializedVarDeclarations(Node, Node) | | 100% | | 83% | 2 | 7 | 0 | 12 | 0 | 1 |
makeLocalNamesUnique(Node, boolean) | | 100% | | n/a | 0 | 1 | 0 | 7 | 0 | 1 |
getReplacementReturnStatement(Node, String) | | 100% | | 100% | 0 | 5 | 0 | 12 | 0 | 1 |
convertLastReturnToStatement(Node, String) | | 100% | | 100% | 0 | 2 | 0 | 8 | 0 | 1 |
addDummyAssignment(Node, String) | | 100% | | n/a | 0 | 1 | 0 | 7 | 0 | 1 |
mutate(String, Node, Node, String, boolean, boolean) | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
createAssignStatementNode(String, Node) | | 100% | | n/a | 0 | 1 | 0 | 3 | 0 | 1 |
FunctionToBlockMutator(AbstractCompiler, Supplier) | | 100% | | n/a | 0 | 1 | 0 | 4 | 0 | 1 |
hasReturnAtExit(Node) | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |