Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.959 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 354 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitStructureRequestor.java |
2 | 8 | 391 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9874f0c0]] | typeParameterInfo |
1 | 2 | [[#9874f0c0]] | typeInfo |
2 | 1 | [[#98ff79a0]] | TypeParameter |
2 | 2 | [[#98ff79a0]] | SourceType |
3 | 1 | [[#9874f0a0]] | TypeParameterElementInfo |
3 | 2 | [[#9874f0a0]] | SourceTypeElementInfo |
4 | 1 | [[#59ed3c80]] | setSourceRangeStart |
4 | 2 | [[#59ed3c80]] | setHandle |
5 | 1 | [[#59ed3c60]] | typeParameterInfo.declarationStart |
5 | 2 | [[#59ed3c60]] | handle |