CloneSet234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15560.983block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1154747
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2154763
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
3154779
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
4154819
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
5155589
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
15
Source Line
4747
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                                                             {
        String leftName = new String(leftType.readableName());
        String rightName = new String(rightType.readableName());
        String leftShortName = new String(leftType.shortReadableName());
        String rightShortName = new String(rightType.shortReadableName());
        if (leftShortName.equals(rightShortName)) {
                leftShortName = leftName;
                rightShortName = rightName;
        }
        this.handle(
                IProblem.IncompatibleTypesInEqualityOperator, 
                new String[] {
                              leftName, rightName
                             }, new String[] {
                                              leftShortName, rightShortName
                                             }, expression.sourceStart, expression.sourceEnd);
                                                                                                             }


Clone Instance
2
Line Count
15
Source Line
4763
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                                                                  {
        String leftName = new String(leftType.readableName());
        String rightName = new String(rightType.readableName());
        String leftShortName = new String(leftType.shortReadableName());
        String rightShortName = new String(rightType.shortReadableName());
        if (leftShortName.equals(rightShortName)) {
                leftShortName = leftName;
                rightShortName = rightName;
        }
        this.handle(
                IProblem.IncompatibleTypesInConditionalOperator, 
                new String[] {
                              leftName, rightName
                             }, new String[] {
                                              leftShortName, rightShortName
                                             }, expression.sourceStart, expression.sourceEnd);
                                                                                                                  }


Clone Instance
3
Line Count
15
Source Line
4779
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                                                                 {
        String leftName = new String(leftType.readableName());
        String rightName = new String(rightType.readableName());
        String leftShortName = new String(leftType.shortReadableName());
        String rightShortName = new String(rightType.shortReadableName());
        if (leftShortName.equals(rightShortName)) {
                leftShortName = leftName;
                rightShortName = rightName;
        }
        this.handle(
                IProblem.IncompatibleTypesInForeach, 
                new String[] {
                              leftName, rightName
                             }, new String[] {
                                              leftShortName, rightShortName
                                             }, expression.sourceStart, expression.sourceEnd);
                                                                                                                 }


Clone Instance
4
Line Count
15
Source Line
4819
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                                                                        {
        String leftName = new String(leftType.readableName());
        String rightName = new String(rightType.readableName());
        String leftShortName = new String(leftType.shortReadableName());
        String rightShortName = new String(rightType.shortReadableName());
        if (leftShortName.equals(rightShortName)) {
                leftShortName = leftName;
                rightShortName = rightName;
        }
        this.handle(
                IProblem.TypeMismatch, 
                new String[] {
                              leftName, rightName
                             }, new String[] {
                                              leftShortName, rightShortName
                                             }, assignment.sourceStart, assignment.sourceEnd);
                                                                                                                        }


Clone Instance
5
Line Count
15
Source Line
5589
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                                                  {
        String leftName = new String(leftType.readableName());
        String rightName = new String(rightType.readableName());
        String leftShortName = new String(leftType.shortReadableName());
        String rightShortName = new String(rightType.shortReadableName());
        if (leftShortName.equals(rightShortName)) {
                leftShortName = leftName;
                rightShortName = rightName;
        }
        this.handle(
                IProblem.IllegalCast, 
                new String[] {
                               rightName, leftName
                             }, new String[] {
                                               rightShortName, leftShortName
                                             }, expression.sourceStart, expression.sourceEnd);
                                                                                                  }


Clone AbstractionParameter Count: 6Parameter Bindings

{
  String leftName = new String(leftType.readableName());
  String rightName = new String(rightType.readableName());
  String leftShortName = new String(leftType.shortReadableName());
  String rightShortName = new String(rightType.shortReadableName());
  if (leftShortName.equals(rightShortName)) {
    leftShortName = leftName;
    rightShortName = rightName;
  }
  this.handle(IProblem. [[#variableb91fb260]], new String[] {
                                                               [[#variableb91fb0a0]],
                                                               [[#variableb91fb100]]
                                                            }, new String[] {
                                                                               [[#variableb91fb080]],
                                                                               [[#variableb94c60c0]]
                                                                            },  [[#variableb91fb160]].sourceStart,  [[#variableb91fb160]].sourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b91fb260]]
IllegalCast 
12[[#b91fb260]]
TypeMismatch 
13[[#b91fb260]]
IncompatibleTypesInForeach 
14[[#b91fb260]]
IncompatibleTypesInConditionalOperator 
15[[#b91fb260]]
IncompatibleTypesInEqualityOperator 
21[[#b91fb0a0]]
rightName 
22[[#b91fb0a0]]
leftName 
23[[#b91fb0a0]]
leftName 
24[[#b91fb0a0]]
leftName 
25[[#b91fb0a0]]
leftName 
31[[#b91fb100]]
leftName 
32[[#b91fb100]]
rightName 
33[[#b91fb100]]
rightName 
34[[#b91fb100]]
rightName 
35[[#b91fb100]]
rightName 
41[[#b91fb080]]
rightShortName 
42[[#b91fb080]]
leftShortName 
43[[#b91fb080]]
leftShortName 
44[[#b91fb080]]
leftShortName 
45[[#b91fb080]]
leftShortName 
51[[#b94c60c0]]
leftShortName 
52[[#b94c60c0]]
rightShortName 
53[[#b94c60c0]]
rightShortName 
54[[#b94c60c0]]
rightShortName 
55[[#b94c60c0]]
rightShortName 
61[[#b91fb160]]
expression 
62[[#b91fb160]]
assignment 
63[[#b91fb160]]
expression 
64[[#b91fb160]]
expression 
65[[#b91fb160]]
expression