Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.983 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 215 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java |
2 | 4 | 230 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RippleMethodFinder2.java |
| ||||
ITypeHierarchy hierarchy = getCachedHierarchy(relatedType, owner, new SubProgressMonitor(pm, 1)); if (hierarchy == null) hierarchy = relatedType.newTypeHierarchy(owner, new SubProgressMonitor(pm, 1)); IType[] allSubTypes = hierarchy.getAllSubtypes(relatedType); |
| ||||
ITypeHierarchy hierarchy = getCachedHierarchy(alienType, owner, new SubProgressMonitor(pm, 1)); if (hierarchy == null) hierarchy = alienType.newTypeHierarchy(owner, new SubProgressMonitor(pm, 1)); IType[] allSubtypes = hierarchy.getAllSubtypes(alienType); |
| |||
ITypeHierarchy hierarchy = getCachedHierarchy( [[#variable649b9e60]], owner, new SubProgressMonitor(pm, 1)); if (hierarchy == null) hierarchy = [[#variable649b9e60]].newTypeHierarchy(owner, new SubProgressMonitor(pm, 1)); IType[] [[#variable4efd55e0]]= hierarchy.getAllSubtypes( [[#variable649b9e60]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#649b9e60]] | relatedType |
1 | 2 | [[#649b9e60]] | alienType |
2 | 1 | [[#4efd55e0]] | allSubTypes |
2 | 2 | [[#4efd55e0]] | allSubtypes |