CloneSet2540


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.970statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14285
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java
24290
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java
Clone Instance
1
Line Count
4
Source Line
285
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java

                monitor.subTask(Messages.format(FixMessages.Java50Fix_SerialVersion_CalculateHierarchy_description, SERIALIZABLE_NAME));
                ITypeHierarchy hierarchy1 = serializable.newTypeHierarchy(project, new SubProgressMonitor(monitor, compilationUnits.length));
                IType[] allSubtypes1 = hierarchy1.getAllSubtypes(serializable);
                addTypes(allSubtypes1, cus, qualifiedClassNames);


Clone Instance
2
Line Count
4
Source Line
290
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java

                monitor.subTask(Messages.format(FixMessages.Java50Fix_SerialVersion_CalculateHierarchy_description, EXTERNALIZABLE_NAME));
                ITypeHierarchy hierarchy2 = externalizable.newTypeHierarchy(project, new SubProgressMonitor(monitor, compilationUnits.length));
                IType[] allSubtypes2 = hierarchy2.getAllSubtypes(externalizable);
                addTypes(allSubtypes2, cus, qualifiedClassNames);


Clone AbstractionParameter Count: 4Parameter Bindings

monitor.subTask(Messages.format(FixMessages.Java50Fix_SerialVersion_CalculateHierarchy_description,  [[#variable97f8f020]]));
ITypeHierarchy  [[#variable5b423900]]= [[#variable97f8ef80]].newTypeHierarchy(project, new SubProgressMonitor(monitor, compilationUnits.length));
IType[]  [[#variable97f8efa0]]= [[#variable5b423900]].getAllSubtypes( [[#variable97f8ef80]]);
addTypes( [[#variable97f8efa0]], cus, qualifiedClassNames);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97f8f020]]
EXTERNALIZABLE_NAME 
12[[#97f8f020]]
SERIALIZABLE_NAME 
21[[#5b423900]]
hierarchy2 
22[[#5b423900]]
hierarchy1 
31[[#97f8ef80]]
externalizable 
32[[#97f8ef80]]
serializable 
41[[#97f8efa0]]
allSubtypes2 
42[[#97f8efa0]]
allSubtypes1