CloneSet5030


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.972class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1795
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/PackageFragmentRootReorgChange.java
27106
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/ResourceReorgChange.java
Clone Instance
1
Line Count
7
Source Line
95
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/PackageFragmentRootReorgChange.java

        private String getNewResourceName() {
                if (fNewNameQuery == null)
                        return getRoot().getElementName();
                String name = fNewNameQuery.getNewName();
                if (name == null)
                        return getRoot().getElementName();
                return name;
        }


Clone Instance
2
Line Count
7
Source Line
106
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/ResourceReorgChange.java

        private String getNewResourceName() {
                if (fNewNameQuery == null)
                        return getResource().getName();
                String name = fNewNameQuery.getNewName();
                if (name == null)
                        return getResource().getName();
                return name;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private String getNewResourceName() {
  if (fNewNameQuery == null)
    return [[#variableb2f905c0]](). [[#variableb2f904e0]]();
  String name = fNewNameQuery.getNewName();
  if (name == null)
    return [[#variableb2f905c0]](). [[#variableb2f904e0]]();
  return name;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2f905c0]]
getResource 
12[[#b2f905c0]]
getRoot 
21[[#b2f904e0]]
getName 
22[[#b2f904e0]]
getElementName