CloneSet898


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11440.957block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111646
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2116061
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
3116125
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
4116137
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
11
Source Line
646
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                                                                   {
        int severity = computeSeverity(IProblem.AssignmentHasNoEffect);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                            new String(name)
                                          };
        this.handle(
                        IProblem.AssignmentHasNoEffect, 
                        arguments, 
                        arguments, 
                        severity, 
                        location.sourceStart, 
                        location.sourceEnd);
                                                                   }


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

                                                       {
        int severity = computeSeverity(IProblem.ArgumentIsNeverUsed);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(localDecl.name)
                                          };
        this.handle(
                IProblem.ArgumentIsNeverUsed, 
                arguments, 
                arguments, 
                severity, 
                localDecl.sourceStart, 
                localDecl.sourceEnd);
                                                       }


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

                                                    {
        int severity = computeSeverity(IProblem.UnusedLabel);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(statement.label)
                                          };
        this.handle(
                IProblem.UnusedLabel, 
                arguments, 
                arguments, 
                severity, 
                statement.sourceStart, 
                statement.labelEnd);
                                                    }


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

                                                            {
        int severity = computeSeverity(IProblem.LocalVariableIsNeverUsed);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(localDecl.name)
                                          };
        this.handle(
                IProblem.LocalVariableIsNeverUsed, 
                arguments, 
                arguments, 
                severity, 
                localDecl.sourceStart, 
                localDecl.sourceEnd);
                                                            }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  int severity = computeSeverity(IProblem. [[#variableb9dffe40]]);
  if (severity == ProblemSeverities.Ignore)
    return;
  String[] arguments = new String[] {
                                      new String( [[#variableb9dffe00]])
                                    };
  this.handle(IProblem. [[#variableb9dffe40]], arguments, arguments, severity,  [[#variableb9dff5e0]].sourceStart,  [[#variableb9dff5e0]]. [[#variableb9dffc60]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9dffe40]]
AssignmentHasNoEffect 
12[[#b9dffe40]]
ArgumentIsNeverUsed 
13[[#b9dffe40]]
UnusedLabel 
14[[#b9dffe40]]
LocalVariableIsNeverUsed 
21[[#b9dffe00]]
name 
22[[#b9dffe00]]
localDecl.name 
23[[#b9dffe00]]
statement.label 
24[[#b9dffe00]]
localDecl.name 
31[[#b9dff5e0]]
location 
32[[#b9dff5e0]]
localDecl 
33[[#b9dff5e0]]
statement 
34[[#b9dff5e0]]
localDecl 
41[[#b9dffc60]]
sourceEnd 
42[[#b9dffc60]]
sourceEnd 
43[[#b9dffc60]]
labelEnd 
44[[#b9dffc60]]
sourceEnd