Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.977 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 2544 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 11 | 3626 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
| ||||
int sourceStart = statement.sourceStart; int sourceEnd = statement.sourceEnd; if (statement instanceof AllocationExpression) { AllocationExpression allocation = (AllocationExpression) statement; if (allocation.enumConstant != null) { sourceStart = allocation.enumConstant.sourceStart; sourceEnd = allocation.enumConstant.sourceEnd; } } int id = IProblem.UndefinedConstructor; //default... MethodBinding shownConstructor = targetConstructor; |
| ||||
int sourceStart = statement.sourceStart; int sourceEnd = statement.sourceEnd; if (statement instanceof AllocationExpression) { AllocationExpression allocation = (AllocationExpression) statement; if (allocation.enumConstant != null) { sourceStart = allocation.enumConstant.sourceStart; sourceEnd = allocation.enumConstant.sourceEnd; } } int id = IProblem.JavadocUndefinedConstructor; //default... ProblemMethodBinding problemConstructor = null; |
| |||
int sourceStart = statement.sourceStart; int sourceEnd = statement.sourceEnd; if (statement instanceof AllocationExpression) { AllocationExpression allocation = (AllocationExpression) statement; if (allocation.enumConstant != null) { sourceStart = allocation.enumConstant.sourceStart; sourceEnd = allocation.enumConstant.sourceEnd; } } int id = IProblem. [[#variableb2f550c0]]; //default... [[#variableb2fe86a0]] [[#variableb2f54fe0]]= [[#variableb62452e0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2f550c0]] | UndefinedConstructor |
1 | 2 | [[#b2f550c0]] | JavadocUndefinedConstructor |
2 | 1 | [[#b2fe86a0]] | MethodBinding |
2 | 2 | [[#b2fe86a0]] | ProblemMethodBinding |
3 | 1 | [[#b2f54fe0]] | shownConstructor |
3 | 2 | [[#b2f54fe0]] | problemConstructor |
4 | 1 | [[#b62452e0]] | targetConstructor |
4 | 2 | [[#b62452e0]] | null |