Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 3 | 5 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1008 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java |
2 | 8 | 1018 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java |
3 | 8 | 1028 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.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((fields[i] != null) ? "\n" + fields[i].toString(): "\nNULL FIELD"); //$NON-NLS-1$ //$NON-NLS-2$ } } 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((methods[i] != null) ? "\n" + methods[i].toString(): "\nNULL METHOD"); //$NON-NLS-1$ //$NON-NLS-2$ } } else { buffer.append("NULL METHODS"); //$NON-NLS-1$ } |
| ||||
if (memberTypes != null) { if (memberTypes != Binding.NO_MEMBER_TYPES) { buffer.append("\n/* members */"); //$NON-NLS-1$ for (int i = 0, length = memberTypes.length; i < length; i++) buffer.append((memberTypes[i] != null) ? "\n" + memberTypes[i].toString(): "\nNULL TYPE"); //$NON-NLS-1$ //$NON-NLS-2$ } } else { buffer.append("NULL MEMBER TYPES"); //$NON-NLS-1$ } |
| |||
if ( [[#variableb58158c0]]!= null) { if ( [[#variableb58158c0]]!= Binding. [[#variableb5815840]]) { buffer.append( [[#variableb58157c0]]); //$NON-NLS-1$ for (int i = 0, length = [[#variableb58158c0]].length; i < length; i++) buffer.append(( [[#variableb58158c0]][i] != null) ? "\n" + [[#variableb58158c0]][i].toString(): [[#variableb5815720]]); //$NON-NLS-1$ //$NON-NLS-2$ } } else { buffer.append( [[#variableb58156a0]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b58158c0]] | memberTypes |
1 | 2 | [[#b58158c0]] | methods |
1 | 3 | [[#b58158c0]] | fields |
2 | 1 | [[#b5815840]] | NO_MEMBER_TYPES |
2 | 2 | [[#b5815840]] | NO_METHODS |
2 | 3 | [[#b5815840]] | NO_FIELDS |
3 | 1 | [[#b58157c0]] | "\n/* members */" |
3 | 2 | [[#b58157c0]] | "\n/* methods */" |
3 | 3 | [[#b58157c0]] | "\n/* fields */" |
4 | 1 | [[#b5815720]] | "\nNULL TYPE" |
4 | 2 | [[#b5815720]] | "\nNULL METHOD" |
4 | 3 | [[#b5815720]] | "\nNULL FIELD" |
5 | 1 | [[#b58156a0]] | "NULL MEMBER TYPES" |
5 | 2 | [[#b58156a0]] | "NULL METHODS" |
5 | 3 | [[#b58156a0]] | "NULL FIELDS" |