Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 4 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 1116 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
2 | 11 | 1128 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
3 | 11 | 1140 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java |
| ||||
protected boolean isInsideFieldInitialization() { int i = elementPtr; while (i > -1) { switch (elementKindStack[i]) { case K_TYPE_DELIMITER: return false; case K_METHOD_DELIMITER: return false; case K_FIELD_INITIALIZER_DELIMITER: return true; } i--; } return false; } |
| ||||
protected boolean isInsideMethod() { int i = elementPtr; while (i > -1) { switch (elementKindStack[i]) { case K_TYPE_DELIMITER: return false; case K_METHOD_DELIMITER: return true; case K_FIELD_INITIALIZER_DELIMITER: return false; } i--; } return false; } |
| ||||
protected boolean isInsideType() { int i = elementPtr; while (i > -1) { switch (elementKindStack[i]) { case K_TYPE_DELIMITER: return true; case K_METHOD_DELIMITER: return false; case K_FIELD_INITIALIZER_DELIMITER: return false; } i--; } return false; } |
| |||
protected boolean [[#variable9375aa80]]() { int i = elementPtr; while (i > -1) { switch (elementKindStack[i]) { case K_TYPE_DELIMITER: return [[#variable9375afe0]]; case K_METHOD_DELIMITER: return [[#variable9375b0a0]]; case K_FIELD_INITIALIZER_DELIMITER: return [[#variable9375b080]]; } i--; } return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9375aa80]] | isInsideFieldInitialization |
1 | 2 | [[#9375aa80]] | isInsideMethod |
1 | 3 | [[#9375aa80]] | isInsideType |
2 | 1 | [[#9375afe0]] | false |
2 | 2 | [[#9375afe0]] | false |
2 | 3 | [[#9375afe0]] | true |
3 | 1 | [[#9375b0a0]] | false |
3 | 2 | [[#9375b0a0]] | true |
3 | 3 | [[#9375b0a0]] | false |
4 | 1 | [[#9375b080]] | true |
4 | 2 | [[#9375b080]] | false |
4 | 3 | [[#9375b080]] | false |