Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 5 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 605 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java |
2 | 3 | 166 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java |
| ||||
for (int index = 0; index < elements.length; index++) { if (elements[index] instanceof IResource) set.add(((IResource) elements[index]).getProject()); } |
| ||||
for (int index = 0; index < selection.length; index++) { if (selection[index] instanceof IMethodBinding) result.add(((IBinding) selection[index]).getKey()); } |
| |||
for (int index = 0; index < [[#variable9bd723c0]].length; index++) { if ( [[#variable9bd723c0]][index] instanceof [[#variable9bd72360]]) [[#variable9bd72240]].add((( [[#variable62e48e40]]) [[#variable9bd723c0]][index]). [[#variable9bd722c0]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bd723c0]] | elements |
1 | 2 | [[#9bd723c0]] | selection |
2 | 1 | [[#9bd72360]] | IResource |
2 | 2 | [[#9bd72360]] | IMethodBinding |
3 | 1 | [[#9bd72240]] | set |
3 | 2 | [[#9bd72240]] | result |
4 | 1 | [[#62e48e40]] | IResource |
4 | 2 | [[#62e48e40]] | IBinding |
5 | 1 | [[#9bd722c0]] | getProject |
5 | 2 | [[#9bd722c0]] | getKey |