Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.975 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1297 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
2 | 5 | 124 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIArrayEntryVariable.java |
| ||||
int firstBracket = typeName.indexOf("[]"); //$NON-NLS-1$ if (firstBracket < 0) { return typeName; } StringBuffer buffer = new StringBuffer(typeName); |
| ||||
int lastLeft = typeName.lastIndexOf("[]"); //$NON-NLS-1$ if (lastLeft < 0) { return typeName; } StringBuffer buffer = new StringBuffer(typeName); |
| |||
int [[#variable72f175c0]]= typeName. [[#variable72eed860]]("[]"); //$NON-NLS-1$ if ( [[#variable72f175c0]] < 0) { return typeName; } StringBuffer buffer = new StringBuffer(typeName); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#72f175c0]] | lastLeft |
1 | 2 | [[#72f175c0]] | firstBracket |
2 | 1 | [[#72eed860]] | lastIndexOf |
2 | 2 | [[#72eed860]] | indexOf |