CloneSet3814


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4250.955statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14263
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java
24167
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java
Clone Instance
1
Line Count
4
Source Line
263
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java

                for (int i = 0; i < elements.length; i++) {
                                CPListElement cur = elements[i];
                                if (cur.getEntryKind() == IClasspathEntry.CPE_SOURCE && cur.getPath().equals(path)) {
                                        return cur;
                                }
                }


Clone Instance
2
Line Count
4
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java

                for (int i = 0; i < entries.length; i++) {
                        IClasspathEntry curr = entries[i];
                        if (curr.getEntryKind() == IClasspathEntry.CPE_CONTAINER && curr.getPath().equals(path)) {
                                return i;
                        }
                }


Clone AbstractionParameter Count: 5Parameter Bindings

for (int i = 0; i <  [[#variableb1aa81e0]].length; i++) {
   [[#variableb1aa8160]]  [[#variableb1aa80c0]]= [[#variableb1aa81e0]][i];
  if ( [[#variableb1aa80c0]].getEntryKind() == IClasspathEntry. [[#variableb1aa8060]]&& [[#variableb1aa80c0]].getPath().equals(path)) {
    return [[#variablea3483fe0]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b1aa81e0]]
elements 
12[[#b1aa81e0]]
entries 
21[[#b1aa8160]]
CPListElement 
22[[#b1aa8160]]
IClasspathEntry 
31[[#b1aa80c0]]
cur 
32[[#b1aa80c0]]
curr 
41[[#b1aa8060]]
CPE_SOURCE 
42[[#b1aa8060]]
CPE_CONTAINER 
51[[#a3483fe0]]
cur 
52[[#a3483fe0]]
i