Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 3 | 0.974 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 934 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
2 | 6 | 123 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java |
3 | 6 | 88 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ExtractSuperTypeAction.java |
| ||||
for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) { if ( !(iterator.next() instanceof IMember)) return false; } final Set members = new HashSet(); members.addAll(Arrays.asList(selection.toArray())); |
| ||||
for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) { if ( ! (iterator.next() instanceof IMember)) return null; } Set memberSet = new HashSet(); memberSet.addAll(Arrays.asList(selection.toArray())); |
| ||||
for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) { if ( !(iterator.next() instanceof IMember)) return null; } final Set set = new HashSet(); set.addAll(Arrays.asList(selection.toArray())); |
| |||
for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) { if ( !(iterator.next() instanceof IMember)) return [[#variable6445a1e0]]; } [[#variable6445a1c0]]Set [[#variable6445a0c0]]= new HashSet(); [[#variable6445a0c0]].addAll(Arrays.asList(selection.toArray())); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6445a1e0]] | null |
1 | 2 | [[#6445a1e0]] | false |
1 | 3 | [[#6445a1e0]] | null |
2 | 1 | [[#6445a1c0]] | |
2 | 2 | [[#6445a1c0]] | final |
2 | 3 | [[#6445a1c0]] | final |
3 | 1 | [[#6445a0c0]] | memberSet |
3 | 2 | [[#6445a0c0]] | members |
3 | 3 | [[#6445a0c0]] | set |