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.971 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1589 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java |
2 | 8 | 1599 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java |
3 | 8 | 1609 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java |
| ||||
if (this.fields != null) { if (this.fields != Binding.NO_FIELDS) { buffer.append("\n/* fields */"); //$NON-NLS-1$ for (int i = 0, length = this.fields.length; i < length; i++) buffer.append('\n').append((this.fields[i] != null) ? this.fields[i].toString(): "NULL FIELD"); //$NON-NLS-1$ } } else { buffer.append("NULL FIELDS"); //$NON-NLS-1$ } |
| ||||
if (this.methods != null) { if (this.methods != Binding.NO_METHODS) { buffer.append("\n/* methods */"); //$NON-NLS-1$ for (int i = 0, length = this.methods.length; i < length; i++) buffer.append('\n').append((this.methods[i] != null) ? this.methods[i].toString(): "NULL METHOD"); //$NON-NLS-1$ } } else { buffer.append("NULL METHODS"); //$NON-NLS-1$ } |
| ||||
if (this.memberTypes != null) { if (this.memberTypes != Binding.NO_MEMBER_TYPES) { buffer.append("\n/* members */"); //$NON-NLS-1$ for (int i = 0, length = this.memberTypes.length; i < length; i++) buffer.append('\n').append((this.memberTypes[i] != null) ? this.memberTypes[i].toString(): "NULL TYPE"); //$NON-NLS-1$ } } else { buffer.append("NULL MEMBER TYPES"); //$NON-NLS-1$ } |
| |||
if (this. [[#variablec01d8920]]!= null) { if (this. [[#variablec01d8920]]!= Binding. [[#variablec01d88a0]]) { buffer.append( [[#variablec1ce77c0]]); //$NON-NLS-1$ for (int i = 0, length = this. [[#variablec01d8920]].length; i < length; i++) buffer.append('\n').append((this. [[#variablec01d8920]][i] != null) ? this. [[#variablec01d8920]][i].toString(): [[#variablec1ce69c0]]); //$NON-NLS-1$ //$NON-NLS-1$ } } else { buffer.append( [[#variablec01d8860]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c01d8920]] | fields |
1 | 2 | [[#c01d8920]] | memberTypes |
1 | 3 | [[#c01d8920]] | methods |
2 | 1 | [[#c01d88a0]] | NO_FIELDS |
2 | 2 | [[#c01d88a0]] | NO_MEMBER_TYPES |
2 | 3 | [[#c01d88a0]] | NO_METHODS |
3 | 1 | [[#c1ce77c0]] | "\n/* fields */" |
3 | 2 | [[#c1ce77c0]] | "\n/* members */" |
3 | 3 | [[#c1ce77c0]] | "\n/* methods */" |
4 | 1 | [[#c1ce69c0]] | "NULL FIELD" |
4 | 2 | [[#c1ce69c0]] | "NULL TYPE" |
4 | 3 | [[#c1ce69c0]] | "NULL METHOD" |
5 | 1 | [[#c01d8860]] | "NULL FIELDS" |
5 | 2 | [[#c01d8860]] | "NULL MEMBER TYPES" |
5 | 3 | [[#c01d8860]] | "NULL METHODS" |