Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 345 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/EnumeratedTypeSet.java |
2 | 9 | 383 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/EnumeratedTypeSet.java |
| ||||
if (t.isArrayType()) { ArrayType at = (ArrayType) t; int numDims = at.getDimensions(); for (Iterator subIter = TTypes.getAllSubTypesIterator(at.getElementType()); subIter.hasNext();) { result.fMembers.remove(TTypes.createArrayType(((TType) subIter.next()), numDims)); } } else { for (Iterator iterator = TTypes.getAllSubTypesIterator(t); iterator.hasNext();) { result.fMembers.remove(iterator.next()); } } |
| ||||
if (t instanceof ArrayType) { ArrayType at = (ArrayType) t; int numDims = at.getDimensions(); for (Iterator superIter = TTypes.getAllSuperTypesIterator(at.getElementType()); superIter.hasNext();) { result.fMembers.remove(TTypes.createArrayType(((TType) superIter.next()), numDims)); } } else { for (Iterator iterator = TTypes.getAllSuperTypesIterator(t); iterator.hasNext();) { result.fMembers.remove(iterator.next()); } } |
| |||
if ( [[#variable539ae560]]) { ArrayType at = (ArrayType) t; int numDims = at.getDimensions(); for (Iterator [[#variable539ae4e0]]= TTypes. [[#variable539ae3e0]](at.getElementType()); [[#variable539ae4e0]].hasNext();) { result.fMembers.remove(TTypes.createArrayType(((TType) [[#variable539ae4e0]].next()), numDims)); } } else { for (Iterator iterator = TTypes. [[#variable539ae3e0]](t); iterator.hasNext();) { result.fMembers.remove(iterator.next()); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#539ae560]] | t instanceof ArrayType |
1 | 2 | [[#539ae560]] | t.isArrayType() |
2 | 1 | [[#539ae4e0]] | superIter |
2 | 2 | [[#539ae4e0]] | subIter |
3 | 1 | [[#539ae3e0]] | getAllSuperTypesIterator |
3 | 2 | [[#539ae3e0]] | getAllSubTypesIterator |