CloneSet5522


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1545
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java
2551
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java
Clone Instance
1
Line Count
5
Source Line
45
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java

        public boolean visit(VariableDeclarationFragment node) {
                boolean result = super.visit(node);
                if ( !result)
                        names.add(node.getName().getIdentifier());
                return result;
        }


Clone Instance
2
Line Count
5
Source Line
51
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/NameCollector.java

        public boolean visit(SingleVariableDeclaration node) {
                boolean result = super.visit(node);
                if ( !result)
                        names.add(node.getName().getIdentifier());
                return result;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean visit( [[#variable9cbd4380]] node) {
  boolean result = super.visit(node);
  if ( !result)
    names.add(node.getName().getIdentifier());
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9cbd4380]]
VariableDeclarationFragment 
12[[#9cbd4380]]
SingleVariableDeclaration