Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.968 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1017 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java |
2 | 8 | 1027 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java |
| ||||
if (fields != null) { if (fields != Binding.NO_FIELDS) { buffer.append("\n/* fields */"); //$NON-NLS-1$ for (int i = 0, length = fields.length; i < length; i++) buffer.append('\n').append((fields[i] != null) ? fields[i].toString(): "NULL FIELD"); //$NON-NLS-1$ } } else { buffer.append("NULL FIELDS"); //$NON-NLS-1$ } |
| ||||
if (methods != null) { if (methods != Binding.NO_METHODS) { buffer.append("\n/* methods */"); //$NON-NLS-1$ for (int i = 0, length = methods.length; i < length; i++) buffer.append('\n').append((methods[i] != null) ? methods[i].toString(): "NULL METHOD"); //$NON-NLS-1$ } } else { buffer.append("NULL METHODS"); //$NON-NLS-1$ } |
| |||
if ( [[#variableb8aadce0]]!= null) { if ( [[#variableb8aadce0]]!= Binding. [[#variableb8aadc40]]) { buffer.append( [[#variableb8aadbc0]]); //$NON-NLS-1$ for (int i = 0, length = [[#variableb8aadce0]].length; i < length; i++) buffer.append('\n').append(( [[#variableb8aadce0]][i] != null) ? [[#variableb8aadce0]][i].toString(): [[#variableb8aadb60]]); //$NON-NLS-1$ //$NON-NLS-1$ } } else { buffer.append( [[#variableb8aadac0]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8aadce0]] | methods |
1 | 2 | [[#b8aadce0]] | fields |
2 | 1 | [[#b8aadc40]] | NO_METHODS |
2 | 2 | [[#b8aadc40]] | NO_FIELDS |
3 | 1 | [[#b8aadbc0]] | "\n/* methods */" |
3 | 2 | [[#b8aadbc0]] | "\n/* fields */" |
4 | 1 | [[#b8aadb60]] | "NULL METHOD" |
4 | 2 | [[#b8aadb60]] | "NULL FIELD" |
5 | 1 | [[#b8aadac0]] | "NULL METHODS" |
5 | 2 | [[#b8aadac0]] | "NULL FIELDS" |