CloneSet2400


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8250.959statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18354
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java
28391
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java
Clone Instance
1
Line Count
8
Source Line
354
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java

        JavaElementInfo parentInfo = (JavaElementInfo) this.infoStack.peek();
        JavaElement parentHandle = (JavaElement) this.handleStack.peek();
        String nameString = new String(typeInfo.name);
        SourceType handle = new SourceType(parentHandle, nameString); //NB: occurenceCount is computed in resolveDuplicates
        resolveDuplicates(handle);

        SourceTypeElementInfo info = new SourceTypeElementInfo();
        info.setHandle(handle);


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

        JavaElementInfo parentInfo = (JavaElementInfo) this.infoStack.peek();
        JavaElement parentHandle = (JavaElement) this.handleStack.peek();
        String nameString = new String(typeParameterInfo.name);
        TypeParameter handle = new TypeParameter(parentHandle, nameString); //NB: occurenceCount is computed in resolveDuplicates
        resolveDuplicates(handle);

        TypeParameterElementInfo info = new TypeParameterElementInfo();
        info.setSourceRangeStart(typeParameterInfo.declarationStart);


Clone AbstractionParameter Count: 5Parameter Bindings

JavaElementInfo parentInfo = (JavaElementInfo) this.infoStack.peek();
JavaElement parentHandle = (JavaElement) this.handleStack.peek();
String nameString = new String( [[#variable9874f0c0]].name);
 [[#variable98ff79a0]] handle = new [[#variable98ff79a0]](parentHandle, nameString); //NB: occurenceCount is computed in resolveDuplicates
resolveDuplicates(handle);
 [[#variable9874f0a0]] info = new [[#variable9874f0a0]]();
info. [[#variable59ed3c80]]( [[#variable59ed3c60]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9874f0c0]]
typeParameterInfo 
12[[#9874f0c0]]
typeInfo 
21[[#98ff79a0]]
TypeParameter 
22[[#98ff79a0]]
SourceType 
31[[#9874f0a0]]
TypeParameterElementInfo 
32[[#9874f0a0]]
SourceTypeElementInfo 
41[[#59ed3c80]]
setSourceRangeStart 
42[[#59ed3c80]]
setHandle 
51[[#59ed3c60]]
typeParameterInfo.declarationStart 
52[[#59ed3c60]]
handle