75bb8b343716c95bf73fa412f95e4ce1f75f0823
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public testUnknownVarDestructuredAssign() : void renamed to public testExternVarDestructuredAssign() : void in class com.google.javascript.jscomp.RemoveUnusedCodeTest | From | To | |
Rename Variable | 2 | ||
Rename Variable name : String to nameNode : Node in method private traverseFunction(function Node, parentScope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Rename Variable var : Var to varInfo : VarInfo in method private traverseObjectPatternElement(elm Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Parameterize Variable | 6 | ||
Parameterize Variable classNameNode : Node to n : Node in method private traverseNameNode(n Node, scope Scope) : VarInfo in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Parameterize Variable declNode : Node to n : Node in method private traverseNameNode(n Node, scope Scope) : VarInfo in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Parameterize Variable exceptionNameNode : Node to n : Node in method private traverseNameNode(n Node, scope Scope) : VarInfo in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Parameterize Variable nameNode : Node to n : Node in method private traverseNameNode(n Node, scope Scope) : VarInfo in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Change Variable Type | 2 | ||
Change Variable Type name : String to nameNode : Node in method private traverseFunction(function Node, parentScope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Change Variable Type var : Var to varInfo : VarInfo in method private traverseObjectPatternElement(elm Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method | 11 | ||
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseClassDeclaration(classNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseEnhancedFor(enhancedFor Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseNode(n Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseArrayPattern(arrayPattern Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseVanillaForNameDeclarations(nameDeclaration Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private getVarForNameNode(nameNode Node, scope Scope) : Var extracted from private traverseAssign(assignNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseDeclarationStatement(declarationStatement Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseClassExpression(classNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseAssign(assignNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To | |
Extract Method private traverseNameNode(n Node, scope Scope) : VarInfo extracted from private traverseCatch(catchNode Node, scope Scope) : void in class com.google.javascript.jscomp.RemoveUnusedCode | From | To |