Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.969 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 278 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java |
2 | 3 | 375 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java |
| ||||
for (int i = 0; i < names.length; i++) { if (name.equals(names[i])) { return PRIMITIVE_TYPES[i]; } } |
| ||||
for (int i = 0; i < fInstallLocations.length; i++) { if (name.startsWith(fInstallLocations[i])) { return fVMNames[i]; } } |
| |||
for (int i = 0; i < [[#variablea08a9d60]].length; i++) { if (name. [[#variablea08a9cc0]]( [[#variablea08a9d60]][i])) { return [[#variablea08a9c40]][i]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a08a9d60]] | names |
1 | 2 | [[#a08a9d60]] | fInstallLocations |
2 | 1 | [[#a08a9cc0]] | equals |
2 | 2 | [[#a08a9cc0]] | startsWith |
3 | 1 | [[#a08a9c40]] | PRIMITIVE_TYPES |
3 | 2 | [[#a08a9c40]] | fVMNames |