Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 92 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitAddLibraryProposal.java |
2 | 3 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedElementSelectionValidator.java |
3 | 3 | 57 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/TypedViewerFilter.java |
| ||||
for (int i = 0; i < oldEntries.length; i++) { if (oldEntries[i].equals(entry)) { return true; } } |
| ||||
for (int i = 0; i < fAcceptedTypes.length; i++) { if (fAcceptedTypes[i].isInstance(o)) { return true; } } |
| ||||
for (int i = 0; i < fAcceptedTypes.length; i++) { if (fAcceptedTypes[i].isInstance(element)) { return true; } } |
| |||
for (int i = 0; i < [[#variable9e6ed9e0]].length; i++) { if ( [[#variable9e6ed9e0]][i]. [[#variable9e6ed940]]( [[#variable9e6ed7a0]])) { return true; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e6ed9e0]] | oldEntries |
1 | 2 | [[#9e6ed9e0]] | fAcceptedTypes |
1 | 3 | [[#9e6ed9e0]] | fAcceptedTypes |
2 | 1 | [[#9e6ed940]] | equals |
2 | 2 | [[#9e6ed940]] | isInstance |
2 | 3 | [[#9e6ed940]] | isInstance |
3 | 1 | [[#9e6ed7a0]] | entry |
3 | 2 | [[#9e6ed7a0]] | o |
3 | 3 | [[#9e6ed7a0]] | element |