Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 4 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 98 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/TestKind.java |
2 | 3 | 687 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java |
3 | 3 | 238 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistAdvancedConfigurationBlock.java |
| ||||
for (int i = 0; i < ids.length; i++) { if (ids[i].equals(otherKind.getId())) return true; } |
| ||||
for (int i = 0; i < params.length; i++) { if (params[i].equals(currentLocal.getElementName())) return true; } |
| ||||
for (int i = 0; i < ids.length; i++) { if (ids[i].equals(cat.getId())) return false; } |
| |||
for (int i = 0; i < [[#variableb2ffc700]].length; i++) { if ( [[#variableb2ffc700]][i].equals( [[#variableb2ffc6a0]]. [[#variableb2ffc620]]())) return [[#variableb2ffc3e0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2ffc700]] | ids |
1 | 2 | [[#b2ffc700]] | params |
1 | 3 | [[#b2ffc700]] | ids |
2 | 1 | [[#b2ffc6a0]] | otherKind |
2 | 2 | [[#b2ffc6a0]] | currentLocal |
2 | 3 | [[#b2ffc6a0]] | cat |
3 | 1 | [[#b2ffc620]] | getId |
3 | 2 | [[#b2ffc620]] | getElementName |
3 | 3 | [[#b2ffc620]] | getId |
4 | 1 | [[#b2ffc3e0]] | true |
4 | 2 | [[#b2ffc3e0]] | true |
4 | 3 | [[#b2ffc3e0]] | false |