| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 3 | 2 | 0.983 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 4214 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| 2 | 5 | 4356 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| 3 | 5 | 5557 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
| ||||
if (DEBUG) {
if (this.targetLevel >= ClassFileConstants.JDK1_5) {
System.out.println(position + "\t\tinvokevirtual: java.lang.StringBuilder.append(...)"); //$NON-NLS-1$
}
else {
System.out.println(position + "\t\tinvokevirtual: java.lang.StringBuffer.append(...)"); //$NON-NLS-1$
}
}
|
| ||||
if (DEBUG) {
if (this.targetLevel >= ClassFileConstants.JDK1_5) {
System.out.println(position + "\t\tinvokevirtual: StringBuilder.toString()Ljava.lang.String;"); //$NON-NLS-1$
}
else {
System.out.println(position + "\t\tinvokevirtual: StringBuffer.toString()Ljava.lang.String;"); //$NON-NLS-1$
}
}
|
| ||||
// new: java.lang.StringBuffer
// new: java.lang.StringBuilder
if (DEBUG) {
if (this.targetLevel >= ClassFileConstants.JDK1_5) {
System.out.println(position + "\t\tnew: java.lang.StringBuilder"); //$NON-NLS-1$
}
else {
System.out.println(position + "\t\tnew: java.lang.StringBuffer"); //$NON-NLS-1$
}
}
|
| |||
// new: java.lang.StringBuffer
// new: java.lang.StringBuilder
if (DEBUG) {
if (this.targetLevel >= ClassFileConstants.JDK1_5) {
System.out.println(position + [[#variable6138b8e0]]); //$NON-NLS-1$
}
else {
System.out.println(position + [[#variable6138b820]]); //$NON-NLS-1$
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6138b8e0]] | "\t\tinvokevirtual: java.lang.StringBuilder.append(...)" |
| 1 | 2 | [[#6138b8e0]] | "\t\tnew: java.lang.StringBuilder" |
| 1 | 3 | [[#6138b8e0]] | "\t\tinvokevirtual: StringBuilder.toString()Ljava.lang.String;" |
| 2 | 1 | [[#6138b820]] | "\t\tinvokevirtual: java.lang.StringBuffer.append(...)" |
| 2 | 2 | [[#6138b820]] | "\t\tnew: java.lang.StringBuffer" |
| 2 | 3 | [[#6138b820]] | "\t\tinvokevirtual: StringBuffer.toString()Ljava.lang.String;" |