Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 4 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 646 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 11 | 6061 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
3 | 11 | 6125 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
4 | 11 | 6137 | 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); } |
| ||||
{ 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); } |
| ||||
{ 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); } |
| ||||
{ 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); } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9dffe40]] | AssignmentHasNoEffect |
1 | 2 | [[#b9dffe40]] | ArgumentIsNeverUsed |
1 | 3 | [[#b9dffe40]] | UnusedLabel |
1 | 4 | [[#b9dffe40]] | LocalVariableIsNeverUsed |
2 | 1 | [[#b9dffe00]] | name |
2 | 2 | [[#b9dffe00]] | localDecl.name |
2 | 3 | [[#b9dffe00]] | statement.label |
2 | 4 | [[#b9dffe00]] | localDecl.name |
3 | 1 | [[#b9dff5e0]] | location |
3 | 2 | [[#b9dff5e0]] | localDecl |
3 | 3 | [[#b9dff5e0]] | statement |
3 | 4 | [[#b9dff5e0]] | localDecl |
4 | 1 | [[#b9dffc60]] | sourceEnd |
4 | 2 | [[#b9dffc60]] | sourceEnd |
4 | 3 | [[#b9dffc60]] | labelEnd |
4 | 4 | [[#b9dffc60]] | sourceEnd |