CloneSet3692


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.984statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15280
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java
25287
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java
Clone Instance
1
Line Count
5
Source Line
280
Source File
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++;
                        }
                }


Clone Instance
2
Line Count
5
Source Line
287
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java

                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++;
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97af1b20]]
CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT 
12[[#97af1b20]]
CHANGE_NON_STATIC_ACCESS_TO_STATIC 
21[[#97af1ac0]]
IndirectAccessToStaticField 
22[[#97af1ac0]]
NonStaticAccessToStaticField 
31[[#97af1a60]]
IndirectAccessToStaticMethod 
32[[#97af1a60]]
NonStaticAccessToStaticMethod