Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.994 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 1021 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java |
2 | 12 | 753 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| ||||
Collection collection = null; IJavaProject project = null; ICompilationUnit current = null; for ( final Iterator iterator = units.iterator(); iterator.hasNext();) { current = (ICompilationUnit) iterator.next(); project = current.getJavaProject(); collection = (Collection) projects.get(project); if (collection == null) { collection = new ArrayList(); projects.put(project, collection); } collection.add(current); } |
| ||||
Collection collection = null; IJavaProject project = null; ICompilationUnit current = null; for ( final Iterator iterator = units.iterator(); iterator.hasNext();) { current = (ICompilationUnit) iterator.next(); project = current.getJavaProject(); collection = (Collection) projectToUnits.get(project); if (collection == null) { collection = new ArrayList(); projectToUnits.put(project, collection); } collection.add(current); } |
| |||
Collection collection = null; IJavaProject project = null; ICompilationUnit current = null; for ( final Iterator iterator = units.iterator(); iterator.hasNext();) { current = (ICompilationUnit) iterator.next(); project = current.getJavaProject(); collection = (Collection) [[#variablec076afa0]].get(project); if (collection == null) { collection = new ArrayList(); [[#variablec076afa0]].put(project, collection); } collection.add(current); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c076afa0]] | projects |
1 | 2 | [[#c076afa0]] | projectToUnits |