Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.977 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 304 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java |
2 | 13 | 319 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java |
| ||||
if (last != null) { String lastTN = last.getTypeName(); String lastTCN = getTypeContainerName(last); if (currentTCN.equals(lastTCN)) { if (currentTN.equals(lastTN)) { result.append(JavaElementLabels.CONCAT_STRING); result.append(currentTCN); result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(current)); return result.toString(); } } else if (currentTN.equals(lastTN)) { qualifications = 1; } } |
| ||||
if (next != null) { String nextTN = next.getTypeName(); String nextTCN = getTypeContainerName(next); if (currentTCN.equals(nextTCN)) { if (currentTN.equals(nextTN)) { result.append(JavaElementLabels.CONCAT_STRING); result.append(currentTCN); result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(current)); return result.toString(); } } else if (currentTN.equals(nextTN)) { qualifications = 1; } } |
| |||
if ( [[#variable9b1a0560]]!= null) { String [[#variable9b1a04e0]]= [[#variable9b1a0560]].getTypeName(); String [[#variable9b1a0480]]= getTypeContainerName( [[#variable9b1a0560]]); if (currentTCN.equals( [[#variable9b1a0480]])) { if (currentTN.equals( [[#variable9b1a04e0]])) { result.append(JavaElementLabels.CONCAT_STRING); result.append(currentTCN); result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(current)); return result.toString(); } } else if (currentTN.equals( [[#variable9b1a04e0]])) { qualifications = 1; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b1a0560]] | last |
1 | 2 | [[#9b1a0560]] | next |
2 | 1 | [[#9b1a04e0]] | lastTN |
2 | 2 | [[#9b1a04e0]] | nextTN |
3 | 1 | [[#9b1a0480]] | lastTCN |
3 | 2 | [[#9b1a0480]] | nextTCN |