Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.970 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 285 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java |
2 | 4 | 290 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97f8f020]] | EXTERNALIZABLE_NAME |
1 | 2 | [[#97f8f020]] | SERIALIZABLE_NAME |
2 | 1 | [[#5b423900]] | hierarchy2 |
2 | 2 | [[#5b423900]] | hierarchy1 |
3 | 1 | [[#97f8ef80]] | externalizable |
3 | 2 | [[#97f8ef80]] | serializable |
4 | 1 | [[#97f8efa0]] | allSubtypes2 |
4 | 2 | [[#97f8efa0]] | allSubtypes1 |