CloneSet4194


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16802
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
26173
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
Clone Instance
1
Line Count
6
Source Line
802
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                ASTNode node = fragment.getAssociatedNode();
                ASTNode parent = node.getParent();
                if (parent instanceof VariableDeclarationFragment) {
                        VariableDeclarationFragment vdf = (VariableDeclarationFragment) parent;
                        if (node.equals(vdf.getName()))
                                return false;
                }


Clone Instance
2
Line Count
6
Source Line
173
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                ASTNode node = fragment.getAssociatedNode();
                ASTNode parent = node.getParent();
                if (parent instanceof VariableDeclarationFragment) {
                        VariableDeclarationFragment vdf = (VariableDeclarationFragment) parent;
                        if (node.equals(vdf.getName()))
                                return false;
                }


Clone AbstractionParameter Count: 0Parameter Bindings

ASTNode node = fragment.getAssociatedNode();
ASTNode parent = node.getParent();
if (parent instanceof VariableDeclarationFragment) {
  VariableDeclarationFragment vdf = (VariableDeclarationFragment) parent;
  if (node.equals(vdf.getName()))
    return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None