Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 1276 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java |
2 | 13 | 437 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java |
| ||||
// Use primary type if possible IType primaryType = cu.findPrimaryType(); if (primaryType != null) return primaryType; // Use first top-level type try { IType[] types = cu.getTypes(); if (types.length > 0) return types[0]; else return null; } catch (JavaModelException ex) { return null; } |
| ||||
// Use primary type if possible IType primaryType = cu.findPrimaryType(); if (primaryType != null) return primaryType; // Use first top-level type try { IType[] types = cu.getTypes(); if (types.length > 0) return types[0]; else return null; } catch (JavaModelException ex) { return null; } |
| |||
// Use primary type if possible IType primaryType = cu.findPrimaryType(); if (primaryType != null) return primaryType; // Use first top-level type try { IType[] types = cu.getTypes(); if (types.length > 0) return types[0]; else return null; } catch (JavaModelException ex) { return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |