Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 5 | 0.955 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 274 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialogTabPage.java |
2 | 6 | 189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ClasspathContainerWizard.java |
| ||||
for (int i = 0; i < fValues.length; i++) { if (fValues[i].equals(selected)) { return fItems[i]; } } return ""; //$NON-NLS-1$ |
| ||||
for (int i = 0; i < containers.length; i++) { if (containers[i].canEdit(entry)) { return containers[i]; } } return null; |
| |||
for (int i = 0; i < [[#variable57cb4120]].length; i++) { if ( [[#variable57cb4120]][i]. [[#variable57cb4080]]( [[#variable640560c0]])) { return [[#variable640567e0]][i]; } } return [[#variable59196880]]; //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57cb4120]] | containers |
1 | 2 | [[#57cb4120]] | fValues |
2 | 1 | [[#57cb4080]] | canEdit |
2 | 2 | [[#57cb4080]] | equals |
3 | 1 | [[#640560c0]] | entry |
3 | 2 | [[#640560c0]] | selected |
4 | 1 | [[#640567e0]] | containers |
4 | 2 | [[#640567e0]] | fItems |
5 | 1 | [[#59196880]] | null |
5 | 2 | [[#59196880]] | "" |