CloneSet1430


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.977statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113304
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java
213319
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java
Clone Instance
1
Line Count
13
Source Line
304
Source File
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;
                                       }
                        }


Clone Instance
2
Line Count
13
Source Line
319
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java

                        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;
                                       }
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b1a0560]]
last 
12[[#9b1a0560]]
next 
21[[#9b1a04e0]]
lastTN 
22[[#9b1a04e0]]
nextTN 
31[[#9b1a0480]]
lastTCN 
32[[#9b1a0480]]
nextTCN