Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.984 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 280 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
2 | 5 | 287 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
| ||||
if (isFlag(CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT)) { for (int i = 0; i < problems.length; i++) { int id = problems[i].getID(); if (id == IProblem.IndirectAccessToStaticField || id == IProblem.IndirectAccessToStaticMethod) result++; } } |
| ||||
if (isFlag(CHANGE_NON_STATIC_ACCESS_TO_STATIC)) { for (int i = 0; i < problems.length; i++) { int id = problems[i].getID(); if (id == IProblem.NonStaticAccessToStaticField || id == IProblem.NonStaticAccessToStaticMethod) result++; } } |
| |||
if (isFlag( [[#variable97af1b20]])) { for (int i = 0; i < problems.length; i++) { int id = problems[i].getID(); if (id == IProblem. [[#variable97af1ac0]]|| id == IProblem. [[#variable97af1a60]]) result++; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97af1b20]] | CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT |
1 | 2 | [[#97af1b20]] | CHANGE_NON_STATIC_ACCESS_TO_STATIC |
2 | 1 | [[#97af1ac0]] | IndirectAccessToStaticField |
2 | 2 | [[#97af1ac0]] | NonStaticAccessToStaticField |
3 | 1 | [[#97af1a60]] | IndirectAccessToStaticMethod |
3 | 2 | [[#97af1a60]] | NonStaticAccessToStaticMethod |