Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.959 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 1025 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java |
2 | 2 | 877 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java |
| ||||
String cuName = cu.getElementName(); int lastDot = cuName.lastIndexOf('.'); |
| ||||
String oldName = cu.getElementName(); int i = oldName.lastIndexOf('.'); |
| |||
String [[#variablebb7c2420]]= cu.getElementName(); int [[#variablebb7c1720]]= [[#variablebb7c2420]].lastIndexOf('.'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bb7c2420]] | cuName |
1 | 2 | [[#bb7c2420]] | oldName |
2 | 1 | [[#bb7c1720]] | lastDot |
2 | 2 | [[#bb7c1720]] | i |