CloneSet3174


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.955statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161897
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
27424
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
Clone Instance
1
Line Count
6
Source Line
1897
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                IClasspathEntry[] entries = new IClasspathEntry[list.size()];
                for (int i = 0; i < list.size(); i++) {
                        CPListElement element = (CPListElement) list.get(i);
                        entries[i] = element.getClasspathEntry();
                }
                return entries;


Clone Instance
2
Line Count
7
Source Line
424
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java

                IClasspathEntry[] entries = new IClasspathEntry[elements.size()];

                for (int i = 0; i < nElements; i++) {
                        CPListElement currElement = (CPListElement) elements.get(i);
                        entries[i] = currElement.getClasspathEntry();
                }
                return entries;


Clone AbstractionParameter Count: 3Parameter Bindings

IClasspathEntry[] entries = new IClasspathEntry[ [[#variablea3f730a0]].size()];
for (int i = 0; i <  [[#variablea5305380]]; i++) {
  CPListElement  [[#variablea3f72fa0]]= (CPListElement)  [[#variablea3f730a0]].get(i);
  entries[i] = [[#variablea3f72fa0]].getClasspathEntry();
}
return entries;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3f730a0]]
list 
12[[#a3f730a0]]
elements 
21[[#a5305380]]
list.size() 
22[[#a5305380]]
nElements 
31[[#a3f72fa0]]
element 
32[[#a3f72fa0]]
currElement