Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
29 | 2 | 1 | 0.999 | statement_sequence[11] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 29 | 277 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
2 | 29 | 760 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| ||||
char[][] argumentTypes = null; char[][] argumentNames = null; int[] argumentTypeStarts = null; int[] argumentTypeEnds = null; int[] argumentNameStarts = null; int[] argumentNameEnds = null; if (arguments != null) { int argumentLength = arguments.length; argumentTypes = new char[argumentLength][]; argumentNames = new char[argumentLength][]; argumentNameStarts = new int[argumentLength]; argumentNameEnds = new int[argumentLength]; argumentTypeStarts = new int[argumentLength]; argumentTypeEnds = new int[argumentLength]; for (int i = 0; i < argumentLength; i++) { Argument argument = arguments[i]; TypeReference argumentType = argument.type; argumentTypes[i] = returnTypeName(argumentType); argumentNames[i] = argument.name; argumentNameStarts[i] = argument.sourceStart; argumentNameEnds[i] = argument.sourceEnd; argumentTypeStarts[i] = argumentType.sourceStart; argumentTypeEnds[i] = argumentType.sourceEnd; } } TypeReference[] thrownExceptions = cd.thrownExceptions; char[][] exceptionTypes = null; int[] exceptionTypeStarts = null; int[] exceptionTypeEnds = null; |
| ||||
char[][] argumentTypes = null; char[][] argumentNames = null; int[] argumentTypeStarts = null; int[] argumentTypeEnds = null; int[] argumentNameStarts = null; int[] argumentNameEnds = null; if (arguments != null) { int argumentLength = arguments.length; argumentTypes = new char[argumentLength][]; argumentNames = new char[argumentLength][]; argumentNameStarts = new int[argumentLength]; argumentNameEnds = new int[argumentLength]; argumentTypeStarts = new int[argumentLength]; argumentTypeEnds = new int[argumentLength]; for (int i = 0; i < argumentLength; i++) { Argument argument = arguments[i]; TypeReference argumentType = argument.type; argumentTypes[i] = returnTypeName(argumentType); argumentNames[i] = argument.name; argumentNameStarts[i] = argument.sourceStart; argumentNameEnds[i] = argument.sourceEnd; argumentTypeStarts[i] = argumentType.sourceStart; argumentTypeEnds[i] = argumentType.sourceEnd; } } TypeReference[] thrownExceptions = md.thrownExceptions; char[][] exceptionTypes = null; int[] exceptionTypeStarts = null; int[] exceptionTypeEnds = null; |
| |||
char[][] argumentTypes = null; char[][] argumentNames = null; int[] argumentTypeStarts = null; int[] argumentTypeEnds = null; int[] argumentNameStarts = null; int[] argumentNameEnds = null; if (arguments != null) { int argumentLength = arguments.length; argumentTypes = new char[argumentLength][]; argumentNames = new char[argumentLength][]; argumentNameStarts = new int[argumentLength]; argumentNameEnds = new int[argumentLength]; argumentTypeStarts = new int[argumentLength]; argumentTypeEnds = new int[argumentLength]; for (int i = 0; i < argumentLength; i++) { Argument argument = arguments[i]; TypeReference argumentType = argument.type; argumentTypes[i] = returnTypeName(argumentType); argumentNames[i] = argument.name; argumentNameStarts[i] = argument.sourceStart; argumentNameEnds[i] = argument.sourceEnd; argumentTypeStarts[i] = argumentType.sourceStart; argumentTypeEnds[i] = argumentType.sourceEnd; } } TypeReference[] thrownExceptions = [[#variable6212f9e0]].thrownExceptions; char[][] exceptionTypes = null; int[] exceptionTypeStarts = null; int[] exceptionTypeEnds = null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6212f9e0]] | cd |
1 | 2 | [[#6212f9e0]] | md |