| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 4 | 0.975 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 976 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryType.java |
| 2 | 8 | 887 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java |
| ||||
if (this.isAnnotation()) {
buffer.append("@interface "); //$NON-NLS-1$
}
else if (this.isEnum()) {
buffer.append("enum "); //$NON-NLS-1$
}
else
if (this.isInterface()) {
buffer.append("interface "); //$NON-NLS-1$
}
else {
buffer.append("class "); //$NON-NLS-1$
}
|
| ||||
if (this.isEnum()) {
buffer.append("enum "); //$NON-NLS-1$
}
else if (this.isAnnotation()) {
buffer.append("@interface "); //$NON-NLS-1$
}
else
if (this.isInterface()) {
buffer.append("interface "); //$NON-NLS-1$
}
else {
buffer.append("class "); //$NON-NLS-1$
}
|
| |||
if (this. [[#variable59644ac0]]()) {
buffer.append( [[#variable59644a40]]); //$NON-NLS-1$
}
else
if (this. [[#variable596449a0]]()) {
buffer.append( [[#variable596448e0]]); //$NON-NLS-1$
}
else
if (this.isInterface()) {
buffer.append("interface "); //$NON-NLS-1$
}
else {
buffer.append("class "); //$NON-NLS-1$
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#59644ac0]] | isAnnotation |
| 1 | 2 | [[#59644ac0]] | isEnum |
| 2 | 1 | [[#59644a40]] | "@interface " |
| 2 | 2 | [[#59644a40]] | "enum " |
| 3 | 1 | [[#596449a0]] | isEnum |
| 3 | 2 | [[#596449a0]] | isAnnotation |
| 4 | 1 | [[#596448e0]] | "enum " |
| 4 | 2 | [[#596448e0]] | "@interface " |