CloneSet3110


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.980statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java
25196
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java
Clone Instance
1
Line Count
5
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java

                if (isFlag(ADD_DEPRECATED_ANNOTATION)) {
                        for (int i = 0; i < problems.length; i++) {
                                int id = problems[i].getID();
                                if (id == IProblem.FieldMissingDeprecatedAnnotation || id == IProblem.MethodMissingDeprecatedAnnotation || id == IProblem.TypeMissingDeprecatedAnnotation)
                                        result++;
                        }
                }


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

                if (isFlag(ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE)) {
                        for (int i = 0; i < problems.length; i++) {
                                int id = problems[i].getID();
                                if (id == IProblem.UnsafeTypeConversion || id == IProblem.RawTypeReference || id == IProblem.UnsafeRawMethodInvocation)
                                        result++;
                        }
                }


Clone AbstractionParameter Count: 4Parameter Bindings

if (isFlag( [[#variable5316cdc0]])) {
  for (int i = 0; i < problems.length; i++) {
    int id = problems[i].getID();
    if (id == IProblem. [[#variable5316cd60]]|| id == IProblem. [[#variable5316cca0]]|| id == IProblem. [[#variable5316cba0]])
      result++;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5316cdc0]]
ADD_DEPRECATED_ANNOTATION 
12[[#5316cdc0]]
ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE 
21[[#5316cd60]]
FieldMissingDeprecatedAnnotation 
22[[#5316cd60]]
UnsafeTypeConversion 
31[[#5316cca0]]
MethodMissingDeprecatedAnnotation 
32[[#5316cca0]]
RawTypeReference 
41[[#5316cba0]]
TypeMissingDeprecatedAnnotation 
42[[#5316cba0]]
UnsafeRawMethodInvocation