CloneSet3712


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.956class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
182361
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
282462
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
8
Source Line
2361
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                private IClasspathEntry[] loadClasspathEntries() throws IOException {
                        int count = loadInt();
                        IClasspathEntry[] entries = new IClasspathEntry[count];

                        for (int i = 0; i < count; ++i)
                                entries[i] = loadClasspathEntry();

                        return entries;
                }


Clone Instance
2
Line Count
8
Source Line
2462
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

                private IPath[] loadPaths() throws IOException {
                        int count = loadInt();
                        IPath[] pathArray = new IPath[count];

                        for (int i = 0; i < count; ++i)
                                pathArray[i] = loadPath();

                        return pathArray;
                }


Clone AbstractionParameter Count: 4Parameter Bindings

private [[#variable9879a320]][]  [[#variable9879a2c0]]() throws IOException {
  int count = loadInt();
   [[#variable9879a320]][]  [[#variable9879a240]]= new [[#variable9879a320]][count];
  for (int i = 0; i < count; ++i)
     [[#variable9879a240]][i] = [[#variable9879a120]]();
  return [[#variable9879a240]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9879a320]]
IClasspathEntry 
12[[#9879a320]]
IPath 
21[[#9879a2c0]]
loadClasspathEntries 
22[[#9879a2c0]]
loadPaths 
31[[#9879a240]]
entries 
32[[#9879a240]]
pathArray 
41[[#9879a120]]
loadClasspathEntry 
42[[#9879a120]]
loadPath