Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.956 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 100 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceTypeElementInfo.java |
2 | 9 | 178 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceTypeElementInfo.java |
| ||||
for (int i = 0; i < length; i++) { try { ISourceField field = (ISourceField) fieldHandles[i].getElementInfo(); fields[i] = field; } catch (JavaModelException e) { // ignore } } return fields; |
| ||||
for (int i = 0; i < length; i++) { try { ISourceType type = (ISourceType) memberTypeHandles[i].getElementInfo(); memberTypes[i] = type; } catch (JavaModelException e) { // ignore } } return memberTypes; |
| |||
for (int i = 0; i < length; i++) { try { [[#variablea3ca2ca0]] [[#variablea08bd220]]= ( [[#variablea3ca2ca0]]) [[#variablea0b32600]][i].getElementInfo(); [[#variablea3c63f60]][i] = [[#variablea08bd220]]; } catch (JavaModelException e) { // ignore } } return [[#variablea3c63f60]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a3ca2ca0]] | ISourceField |
1 | 2 | [[#a3ca2ca0]] | ISourceType |
2 | 1 | [[#a08bd220]] | field |
2 | 2 | [[#a08bd220]] | type |
3 | 1 | [[#a0b32600]] | fieldHandles |
3 | 2 | [[#a0b32600]] | memberTypeHandles |
4 | 1 | [[#a3c63f60]] | fields |
4 | 2 | [[#a3c63f60]] | memberTypes |